<% if(all_day.length) {%>
<%= cal.locale.all_day %>
<% }; %> <% if(before_time.length) {%>
<%= cal.locale.before_time %>
<% }; %>
<% if(headers.length) {%>
<% _.each(headers, function(event, pos){ %> <% if(event) { %>
<%= event.name %>
<% } else { %>
<% } %> <% }); %>
<% }; %>
<% if(borders) {%> <% for(var index=0; index < borders + 1; index++){ %>
<% }; %> <% }; %> <% _.each(by_hour, function(event){ %>
<%= event.customer %> <%= event.from_label %> <%= event.from %> <%= event.to_label %> <%= event.to %> <%= event.calendar_day %> <% if(event.main) { %>
  • <%= cal.locale.total_amount %> <%= event.is_pro_version ? event.amount : '- -' %>
  • <%= cal.locale.discount %> <%= event.is_pro_version ? event.discount : '- -' %>
  • <%= cal.locale.deposit %> <%= event.is_pro_version ? event.deposit : '- -' %>
  • <%= cal.locale.due %> <%= event.is_pro_version ? event.due : '- -' %>
  • <% if(!event.is_pro_version) {%> unlock this feature for 79 € / year <% }; %>
<% if(!event.is_pro_version) {%> unlock this feature for 79 € / year <% }; %>
<% if(!event.is_pro_version) {%> unlock this feature for 79 € / year <% }; %>
<% if(!event.is_pro_version) {%> unlock this feature for 79 € / year <% }; %>
<% if(!event.is_pro_version) {%> unlock these features buy pro <% }; %>
<% }; %>
<% }); %> <% _.each(headers, function(att, pos){ %> <% if(att) { %> <% _.each(att.unavailable_times, function(time, index){ %>
<% }); %> <% } %> <% }); %> <% _.each(headers, function(att, pos){ %> <% if(att) { %> <% for(i = 0; i < lines; i++){ %>
<%= cal.locale.click_row_block %>
<% }; %> <% } %> <% }); %>
<% for(i = 0; i < lines; i++){ %>
<%= cal._time(i) %>
<%= cal.locale.click_row_block %>
<% }; %>
<% if(after_time.length) {%>
<%= cal.locale.after_time %>
<% }; %>