Merge branch 'adminbsb_ui_changes' of bitbucket.org:code2lab/sxrestaurant

This commit is contained in:
phyusin
2018-07-20 13:56:31 +06:30
2 changed files with 28 additions and 24 deletions

View File

@@ -130,6 +130,7 @@
<% sale_payments = SalePayment.get_sale_payments(result) %> <% sale_payments = SalePayment.get_sale_payments(result) %>
<% if sale_payments.length > 0%> <% if sale_payments.length > 0%>
<% sale_payments.each do |rec| %> <% sale_payments.each do |rec| %>
<%if rec.payment_amount.to_f > 0 %>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
@@ -148,6 +149,7 @@
</tr> </tr>
<% end %> <% end %>
<% end %> <% end %>
<% end %>
<% if result.amount_changed != 0 && !result.amount_changed.nil? %> <% if result.amount_changed != 0 && !result.amount_changed.nil? %>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>

View File

@@ -122,6 +122,7 @@
<% sale_payments = SalePayment.get_sale_payments(result) %> <% sale_payments = SalePayment.get_sale_payments(result) %>
<% if sale_payments.length > 0%> <% if sale_payments.length > 0%>
<% sale_payments.each do |rec| %> <% sale_payments.each do |rec| %>
<%if rec.payment_amount.to_f > 0 %>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
@@ -140,6 +141,7 @@
</tr> </tr>
<% end %> <% end %>
<% end %> <% end %>
<% end %>
<% if result.amount_changed != 0 && !result.amount_changed.nil? %> <% if result.amount_changed != 0 && !result.amount_changed.nil? %>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>