update report
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% if @response["status"] == true %>
|
||||
<% if @response["status"] == true && @response["data"].count > 0 %>
|
||||
<% @response["data"].each do |transaction| %>
|
||||
<tr>
|
||||
<td><%= transaction["date"]%></td>
|
||||
@@ -101,7 +101,7 @@
|
||||
<%end%>
|
||||
<%else%>
|
||||
<tr style="border-top:2px solid #666;">
|
||||
<td colspan="5"><p class="align-center">There is no transaction coz of <%=@response["data"]%> ...</p>
|
||||
<td colspan="5"><p class="align-center">There is no transaction coz of <%=@response["message"]%> ...</p>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user