check query and tax for webview

This commit is contained in:
phyusin
2018-07-04 11:42:19 +06:30
parent 4750f03ea8
commit 9de4ca04dc
5 changed files with 51 additions and 32 deletions

View File

@@ -371,7 +371,9 @@
<% else %>
No Tax
<% end %></strong><br>
<button class="btn btn-link waves-effect bg-info change_tax">Change Tax</button>
<%if !@webview %>
<button class="btn btn-link waves-effect bg-info change_tax">Change Tax</button>
<% end %>
</td>
<td class="item-attr"><strong id="order-Tax"><%= @obj_sale.total_tax rescue 0%></strong></td>
</tr>