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