<% if notice %>
× <%= notice %>
<% end %> <% if alert %>
× <%= alert %>
<% end %>

Invoice

Factura <%= @invoice.serie %><%= @invoice.folio %>

Gas Ideal


<%= @invoice.branch.address1 %> <%= @invoice.branch.address2 %> <%= @invoice.branch.address3 %>, <%= @invoice.branch.address4 %>, <%= @invoice.branch.address5 %>, <%= @invoice.branch.address6 %>

<%= @invoice.branch.phone %>

contacto@gasideal.com


Facturar a

<%= @invoice.debtor.razon_social %>

<%= @invoice.debtor.address1 %> <%= @invoice.debtor.address2 %> <%= @invoice.debtor.address3 %>, <%= @invoice.debtor.address4 %>, <%= @invoice.debtor.address5 %>, <%= @invoice.debtor.address6 %>

<%= @invoice.debtor.phone %>

<%= @invoice.debtor.email %>

<%= @invoice.created_at %>

Total

$ <%= @invoice.total %>


<% @conceptos.each do |voucher| %> <% end %>

Descripción

Descripción del artículo

Precio

Precio por <%= @invoice.detailed ? 'Denominación' : 'Litro' %>

Cantidad

Número total de <%= @invoice.detailed ? 'vales' : 'litros' %>

Total

Precio total (<%= @invoice.detailed ? 'Detallado' : 'Resumen' %>)

Gas Licuado

<%= voucher["Descripcion"] %>

$<%= voucher["ValorUnitario"] %>

<%= voucher["Cantidad"] %>

$<%= voucher["Importe"] %>

Subtotal

<%= number_to_currency('%.2f' % @invoice.subtotal) %>

IVA (16%)

<%= number_to_currency('%.2f' % @invoice.iva) %>

Total

<%= number_to_currency('%.2f' % @invoice.total) %>

<% if @invoice.invoice_status == "cancelled" %>
CANCELADO
<% end %>