diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 3a117c37..ee54bd46 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -66,8 +66,8 @@ class HomeController < ApplicationController @top_products = Sale.top_products(today) @hourly_sales = Sale.hourly_sales(today) - .group_by_hour(:created_at, :time_zone => 'Asia/Rangoon',format: '%I:%p') - .sum(:grand_total) + # .group_by_hour(:created_at, :time_zone => 'Asia/Rangoon',format: '%I:%p') + # .sum(:grand_total) @employee_sales = Sale.employee_sales(today).sum(:grand_total) @inventories = StockJournal.inventory_balances(today).sum(:balance) end