update show for discount
This commit is contained in:
@@ -220,7 +220,7 @@
|
|||||||
<td class="item-attr"><strong id="order-sub-total"><%= sub_total %></strong></td>
|
<td class="item-attr"><strong id="order-sub-total"><%= sub_total %></strong></td>
|
||||||
</tr>
|
</tr>
|
||||||
<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>
|
<td class="charges-name"><strong>Member Discount:</strong></td>
|
||||||
<%else%>
|
<%else%>
|
||||||
<td class="charges-name"><strong>Discount:</strong></td>
|
<td class="charges-name"><strong>Discount:</strong></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user