update show for discount

This commit is contained in:
Aung Myo
2017-07-12 17:23:20 +06:30
parent 1d873ddb68
commit fc986bfed2

View File

@@ -220,7 +220,7 @@
<td class="item-attr"><strong id="order-sub-total"><%= sub_total %></strong></td>
</tr>
<tr>
<%if @obj_sale.discount_type == 'member_discount'%>
<%if @obj_sale != nil && @obj_sale.discount_type == 'member_discount'%>
<td class="charges-name"><strong>Member Discount:</strong></td>
<%else%>
<td class="charges-name"><strong>Discount:</strong></td>