fix order table

This commit is contained in:
Zin Moe
2020-02-26 16:38:49 +06:30
parent f99f614e32
commit 7e8b6758b8
3 changed files with 6 additions and 13 deletions

View File

@@ -118,13 +118,6 @@
<% else %>
No Tax
<% end %></strong><br>
<%if @sale_payment.nil? && @changable_tax %>
<% if current_login_employee.role == "cashier" %>
<a class="btn btn-link waves-effect bg-info access_modal" data-toggle="modal" data-type="change_tax"> Change Tax</a>
<% else %>
<button class="btn btn-link waves-effect bg-info change_tax">Change Tax</button>
<% end %>
<% end %>
</td>
<td class="item-attr"><strong><span id="total_tax"><%= number_with_precision(@sale_data.total_tax, precision: precision.to_i ) rescue number_with_precision(0, precision: precision.to_i )%></span></strong></td>
</tr>