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