update customer show
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user