split bill process

This commit is contained in:
phyusin
2018-02-20 13:33:59 +06:30
parent 8ccf45d06f
commit 4bfb5842bf
7 changed files with 88 additions and 18 deletions

View File

@@ -107,6 +107,14 @@
<td class="item-attr"><strong><span><%=@balance%></span></strong></td>
</tr>
<% end %>
<% if !@individual_total.nil? %>
<tr>
<td class="charges-name">
<strong>Individual amount for <%= @individual_total[0]['total_customer'] %> persons</strong>
</td>
<td class="item-attr"><strong><span><%=@individual_total[0]['per_person_amount']%></span></strong></td>
</tr>
<% end %>
</tfooter>
</table>
</div>