From d39896af82d1c01f26a043d21ea629bdb2496937 Mon Sep 17 00:00:00 2001 From: Yan Date: Tue, 12 Dec 2017 17:49:44 +0630 Subject: [PATCH] remove padding in dashboard --- app/views/home/dashboard.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/home/dashboard.html.erb b/app/views/home/dashboard.html.erb index 90221290..54ea2859 100755 --- a/app/views/home/dashboard.html.erb +++ b/app/views/home/dashboard.html.erb @@ -226,7 +226,7 @@ <% if !@total_order.nil? %> <%= t("views.right_panel.detail.total") %> <%= t("views.right_panel.detail.order") %> : - <%= @total_order.total_order %> + <%= @total_order.total_order %> <% end %> @@ -234,7 +234,7 @@ <% @total_accounts.each do |account| %> <%= account.title %> (Account) : - + <% @account_data.each do |data| %> <% acc = account.title %> <%= data[""+acc+""] %> <% if !data[''+acc+''].nil? %> ( <%= data[''+acc+'_amount'] %> ) <% end %> @@ -246,14 +246,14 @@ <% if !@top_items.nil? %> <%= t :top %> <%= t("views.right_panel.detail.item") %> : - <%= @top_items.item_name %> + <%= @top_items.item_name %>
(<%= @top_items.item_total_price %>) <% end %> <% if !@total_foc_items.nil? %> <%= t("views.right_panel.detail.total") %> <%= t("views.btn.foc") %> <%= t("views.right_panel.detail.item") %> : - <%= @total_foc_items %> + <%= @total_foc_items %> <% end %>