| # <%= hidden_field_tag "amount_" + pre_sale.id.to_s, pre_sale.amount %> |
<%= pre_sale.product.sku %> |
 |
<%= pre_sale.product.name %>
<%= pre_sale.product.display_attributes %>
|
|
<%= hidden_field_tag('unit_price', pre_sale.unit_price, { id: "unit_price_" + pre_sale.id.to_s }) %>
|
<%= hidden_field_tag('tax', pre_sale.tax, { id: "tax_" + pre_sale.id.to_s }) %>
|
<%= hidden_field_tag('discount', pre_sale.discount, { id: "discount_" + pre_sale.id.to_s }) %>
|
<%= hidden_field_tag('total', pre_sale.total, { id: "total_" + pre_sale.id.to_s }) %>
|
<% if @pos_config.enable_haggle? && pre_sale.haggle.zero? && pre_sale.haggle_percent.zero? %>
<%= link_to add_sale_haggle_path(pre_sale), :remote => true, :class => "btn btn-icon-only btn-primary hagglebutton", :title=>"Agregar regate" do %>
<% end %>
<% else %>
<%= pre_sale_haggle_type(pre_sale) %>
<% end %>
|