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> </tr>
<% end %> <% end %>
<% if @response["data"].first["status"] != 'Discount'%> <% if @response["data"].first["status"] != 'Discount'%>
<tr > <tr style="border-top:2px solid #666;">
<th>Balance</th> <th>Balance</th>
<th> <th colspan="4">
<%= @response["data"].first["balance"] %> <%= @response["data"].first["balance"] %>
</th> </th>
</tr> </tr>
<%end%> <%end%>
<%else%> <%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 %> <% end %>
</tbody> </tbody>
</table> </table>