| <%= index + 1 %> |
<%= category[:name] %> |
<%= category[:quantity] %> |
<%= category[:occupational_risk] %> |
<%= number_to_currency(category[:sdi], unit: '$', format: "%u %n") %> |
<%= number_to_currency(category[:total_salary], 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
%>