| <%= cash_out.id %> |
<% if current_user.usertype == "A" || current_user.usertype == "SS" %>
<%= OpenCashRegister.get_pointsale(cash_out.open_cash_register_id, "open_cash_register").name %>
|
<% end %>
<%= cash_out.open_cash_register.cash_register.name %> |
<%= number_to_currency(cash_out.amount_in, precision: 2) %> |
<%= number_to_currency(cash_out.amount_out, precision: 2) %> |
<%= number_to_currency(cash_out.amount_in - cash_out.amount_out, precision: 2) %> |
<%= l(cash_out.created_at, :format => '%d/%B/%Y') %> |
<%= cash_out.user.first_name %> |
<%= (cash_out.received_by.blank? ? "" : cash_out.received_by.first_name) %> |
<%= link_to cash_out, {:class=>"btn btn-icon-only default", :title=>"Ver corte de caja"} do %>
<% end %>
<%= link_to print_cash_out_receipt_path(cash_out.id, format: 'pdf'), {:class=>"btn btn-icon-only default", :target => "blank"} do %>
<% end %>
|