update customer show

This commit is contained in:
Aung Myo
2017-11-17 11:58:46 +06:30
parent 393d0badc3
commit 02bf6f03f1

View File

@@ -92,15 +92,18 @@
</tr>
<% end %>
<% if @response["data"].first["status"] != 'Discount'%>
<tr >
<tr style="border-top:2px solid #666;">
<th>Balance</th>
<th>
<th colspan="4">
<%= @response["data"].first["balance"] %>
</th>
</tr>
<%end%>
<%else%>
<tr><td colspan="5"><p class="align-center">There is no transaction coz of <%=@response["data"]%> ...</p></td></tr>
<tr style="border-top:2px solid #666;">
<td colspan="5"><p class="align-center">There is no transaction coz of <%=@response["data"]%> ...</p>
</td>
</tr>
<% end %>
</tbody>
</table>