| <%= index + 1 %> |
<%= category[:name] %> |
<%= category[:quantity] %> |
<%= category[:occupational_risk] %> |
<%= category[:days_period] %> |
<%= number_to_currency(category[:sdi], unit: '$', format: "%u %n") %> |
<%= number_to_currency(category[:income][:period_salary], unit: '$', format: "%u %n") %> |
<%= number_to_currency((category[:income][:prevision_social][:sport] + category[:income][:prevision_social][:culture]), unit: '$', format: "%u %n") %> |
<%= number_to_currency((category[:isr_retention] + category[:insurance_rcv_worker]), unit: '$', format: "%u %n") %> |
<%= number_to_currency(category[:total_salary], unit: '$', format: "%u %n") %> |
<%= number_to_currency(category[:isn][:sum_isn], unit: '$', format: "%u %n") %> |
<%= number_to_currency(category[:insurance_rcv_boss], unit: '$', format: "%u %n") %> |
<%= number_to_currency((category[:quantity] * category[:cost_client][:subtotal]), unit: '$', format: "%u %n") %> |
<% end
commission_total = total_outsourcing * utility_factor
subtotal = total_outsourcing + commission_total
iva = subtotal * 0.16
total = subtotal + iva
%>