%= form_for(@cash_out, :remote => true, :html => {:class=>"form-horizontal", :id=> "cash_out_form"}) do |f| %>
| # | Método de pago | Total de ingresos (ventas) | Total de egresos (gastos) | Total (ventas y efectivo inicial) |
|---|---|---|---|---|
| <%= key +1 %> | <%= payment["method"] %> | <%= number_to_currency(payment["incoming"], precision: 2) %> | <%= number_to_currency(payment["outgoing"], precision: 2) %> | <%= number_to_currency(payment["total"], precision: 2) %> " id="<%= key + 1 %>"> |
| # | Folio | Caja registradora | Método de pago | Cantidad | Concepto | Hora |
|---|---|---|---|---|---|---|
| <%= key += 1 %> | <%= move_concept_folio(move) %> | <%= move.open_cash_register.cash_register.name %> | <%= move.payment_method.method %> | <%= number_to_currency(move.quantity, precision: 2) %> | <%= cash_move_type(move) %> | <%= l(move.created_at, format: '%I:%M %p') %> |
| # | Folio | Caja registradora | Método de pago | Cantidad | Concepto | Hora |
|---|---|---|---|---|---|---|
| <%= key + 1 %> | <%= move_concept_folio(move) %> | <%= move.open_cash_register.cash_register.name %> | <%= move.payment_method.method %> | <%= number_to_currency(move.quantity, precision: 2) %> |
<% case move.concept %>
<% when "sale" %>
<% if move.sale.cash? %>
VENTA CANCELADA
<% elsif move.sale.reserved? %>
APARTADO CANCELADO
<% end %>
<% when "purchase" %>
COMPRA
<% when "expense" %>
<%= move.expense.expensesconcept.name %> <%= move.expense.observations %> <% when "credit_payment" %> ABONO CANCELADO <% end %> |
<%= l(move.created_at, :format => '%I:%M %p') %> |