check status

This commit is contained in:
phyusin
2018-09-25 11:10:08 +06:30
parent 00016097d8
commit 3d44c570b2
2 changed files with 6 additions and 2 deletions

View File

@@ -47,7 +47,7 @@
<button type="button" class="btn btn-block bg-red waves-effect" data-toggle="modal" data-target="#voidModal" <%= (can? :overall_void, :void)? ' ': 'disabled=' %> > Void</button>
</th>
<% end %>
<% else %>
<% elsif @sale.sale_status == "new" %>
<% if current_login_employee.role == "administrator" %>
<%if @membership.discount && @sale.customer.membership_id %>
<th>