remove padding in dashboard

This commit is contained in:
Yan
2017-12-12 17:49:44 +06:30
parent bbf30ed26f
commit d39896af82

View File

@@ -226,7 +226,7 @@
<% if !@total_order.nil? %> <% if !@total_order.nil? %>
<tr> <tr>
<td width="40px"><%= t("views.right_panel.detail.total") %> <%= t("views.right_panel.detail.order") %> : </td> <td width="40px"><%= t("views.right_panel.detail.total") %> <%= t("views.right_panel.detail.order") %> : </td>
<td align="right" width="60px" style="padding: 5px"><%= @total_order.total_order %></td> <td align="right" width="60px"><%= @total_order.total_order %></td>
</tr> </tr>
<% end %> <% end %>
@@ -234,7 +234,7 @@
<% @total_accounts.each do |account| %> <% @total_accounts.each do |account| %>
<tr> <tr>
<td width="40px"><%= account.title %> (Account) : </td> <td width="40px"><%= account.title %> (Account) : </td>
<td align="right" width="60px" style="padding: 5px"> <td align="right" width="60px">
<% @account_data.each do |data| %> <% @account_data.each do |data| %>
<% acc = account.title %> <% acc = account.title %>
<%= data[""+acc+""] %> <% if !data[''+acc+''].nil? %> ( <%= data[''+acc+'_amount'] %> ) <% end %> <%= data[""+acc+""] %> <% if !data[''+acc+''].nil? %> ( <%= data[''+acc+'_amount'] %> ) <% end %>
@@ -246,14 +246,14 @@
<% if !@top_items.nil? %> <% if !@top_items.nil? %>
<tr> <tr>
<td width="40px"><%= t :top %> <%= t("views.right_panel.detail.item") %> : </td> <td width="40px"><%= t :top %> <%= t("views.right_panel.detail.item") %> : </td>
<td align="right" width="60px" style="padding: 5px"><%= @top_items.item_name %> <td align="right" width="60px"><%= @top_items.item_name %>
<br>(<%= @top_items.item_total_price %>)</td> <br>(<%= @top_items.item_total_price %>)</td>
</tr> </tr>
<% end %> <% end %>
<% if !@total_foc_items.nil? %> <% if !@total_foc_items.nil? %>
<tr> <tr>
<td width="40px"><%= t("views.right_panel.detail.total") %> <%= t("views.btn.foc") %> <%= t("views.right_panel.detail.item") %> : </td> <td width="40px"><%= t("views.right_panel.detail.total") %> <%= t("views.btn.foc") %> <%= t("views.right_panel.detail.item") %> : </td>
<td align="right" width="60px" style="padding: 5px"><%= @total_foc_items %></td> <td align="right" width="60px"><%= @total_foc_items %></td>
</tr> </tr>
<% end %> <% end %>
</table> </table>