Merge branch 'adminbsb_material_ui' of bitbucket.org:code2lab/sxrestaurant

This commit is contained in:
Yan
2017-11-28 19:12:02 +06:30
7 changed files with 25 additions and 23 deletions

View File

@@ -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 %>