Edit Reprint in QS and change void button color

This commit is contained in:
San Wai Lwin
2018-06-08 10:29:45 +06:30
parent 13e11bf777
commit b3e85ff25e
4 changed files with 15 additions and 5 deletions

View File

@@ -43,7 +43,7 @@
<th><%= t("views.right_panel.detail.receipt_generated_at") %></th>
<% if @sale["sale_status"] == "completed" %>
<th>
<button type="button" class="btn btn-block bg-blue waves-effect" data-toggle="modal" data-target="#voidModal" <%= (can? :overall_void, :void)? ' ': 'disabled=' %> > Void</button>
<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 %>
</tr>