commission update

This commit is contained in:
Zin Lin Phyo
2017-08-23 11:14:24 +06:30
parent b53db9b08b
commit 3132bc7c34
13 changed files with 204 additions and 166 deletions

View File

@@ -16,12 +16,7 @@
<tbody>
<tr>
<td style="width:20%">Product Name</td>
<td>
<% if Product.exists? %>
<% product = Product.find(@commission.product_id) %>
<%= product.name %>
<% end %>
</td>
<td><%= @commission.menu_item.name rescue '-' %></td>
</tr>
<tr>
<td style="width:20%">Amount</td>