remove comment in sale item
This commit is contained in:
@@ -9,30 +9,20 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<!-- <div class="container"> -->
|
||||
<%= render :partial=>'shift_sale_report_filter',
|
||||
:locals=>{ :period_type => true, :shift_name => true, :report_path =>reports_saleitem_index_path} %>
|
||||
|
||||
<hr />
|
||||
<!-- /div> -->
|
||||
|
||||
<!-- <div class="container"> -->
|
||||
<!-- <div class="row"> -->
|
||||
<div class="text-right">
|
||||
<a href="javascript:export_to('<%=reports_saleitem_index_path%>.xls')" class = "btn btn-info wave-effects "><%= t("views.btn.exp_to_excel") %></a>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
<!-- </div> -->
|
||||
<div class="text-right">
|
||||
<a href="javascript:export_to('<%=reports_saleitem_index_path%>.xls')" class = "btn btn-info wave-effects "><%= t("views.btn.exp_to_excel") %></a>
|
||||
</div>
|
||||
|
||||
<div class="margin-top-20">
|
||||
<div class="card">
|
||||
<div class="table-responsive">
|
||||
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped" id="items_table" border="0">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th colspan="7"> <%= t("views.right_panel.detail.from_date") %> : <%= @from.utc.getlocal.strftime("%Y-%b-%d") rescue '-' %> - <%= t("views.right_panel.detail.to_date") %> : <%= @to.utc.getlocal.strftime("%Y-%b-%d") rescue '-'%></th>
|
||||
</tr>
|
||||
@@ -142,21 +132,6 @@
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
<!-- <tr>
|
||||
<td colspan="5"> </td>
|
||||
<td><%= t("views.right_panel.detail.cash_received") %></td>
|
||||
<td><span><%= @cash_data - @change_amount %></span></td>
|
||||
</tr> -->
|
||||
<!-- <tr>
|
||||
<td colspan="5"> </td>
|
||||
<td><%= t("views.right_panel.detail.card_sales") %></td>
|
||||
<td><span><%= @card_data %></span></td>
|
||||
</tr> -->
|
||||
<!-- <tr>
|
||||
<td colspan="5"> </td>
|
||||
<td><%= t("views.right_panel.detail.credit_sales") %></td>
|
||||
<td><span><%= @credit_data %></span></td>
|
||||
</tr> -->
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
<td><%= t("views.right_panel.detail.foc_item") %> <%= t("views.right_panel.detail.amount") %></td>
|
||||
@@ -177,18 +152,6 @@
|
||||
<td><%= t("views.right_panel.detail.discount") %> <%= t("views.right_panel.detail.amount") %></td>
|
||||
<td><span><%= @discount_data %></span></td>
|
||||
</tr>
|
||||
<!-- <tr>
|
||||
<td colspan="5"> </td>
|
||||
<td><%= t("views.right_panel.detail.grand_total") %></td>
|
||||
<!-- <td><span class="double_underline"><%= grand_total.to_f - @discount_data.to_f%></span></td> -->
|
||||
<!-- <td><span class="double_underline"><%= @grand_total - @change_amount%></span></td>
|
||||
</tr> -->
|
||||
<!-- <tr>
|
||||
<td colspan="5"> </td>
|
||||
<td><%= t("views.right_panel.detail.grand_total") %></td>
|
||||
<!-- <td><span class="double_underline"><%= grand_total.to_f - @discount_data.to_f%></span></td> -->
|
||||
<!--<td><span class="double_underline"><%= grand_total + total_item_foc.abs+ total_item_dis.abs+ @foc_data+@discount_data%></span></td>
|
||||
</tr> -->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user