%= form_for(@purchase, html: { class: "form-horizontal", id: "purchase_form" }) do |f| %>
<%= hidden_field_tag :tax_percent, @pos_config.tax_percent %>
| # |
SKU |
Imagen |
Producto |
Cantidad |
Precio compra neto |
IVA |
Importe |
Acciones |
<%= render @pre_purchases %>
Sub Total:
$
<%= f.text_field :amount, { class: "form-control sub_total", readonly: true, id: "amount" } %>
IVA:
$
<%= f.text_field :tax, { class: "form-control descto", readonly: true, id: "tax" } %>
Total:
$
<%= f.text_field :total, { class: "form-control descto", readonly: true, id: "total" } %>
Total en pesos:
$
<%= text_field_tag :total_in_mxn, '' , class: "form-control", readonly: true %>
MXN
<% end %>