fix order table
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user