Merge branch 'master' into cloud
This commit is contained in:
@@ -16,6 +16,6 @@ class BaseOrigamiController < ActionController::Base
|
||||
end
|
||||
|
||||
def checkin_process
|
||||
CheckinJob.set(wait: 30.seconds).perform_later()
|
||||
CheckinJob.set(wait: 1.minute).perform_later()
|
||||
end
|
||||
end
|
||||
|
||||
@@ -72,7 +72,7 @@ class HomeController < ApplicationController
|
||||
@hourly_sales = Sale.hourly_sales(today).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('total_amount')
|
||||
@employee_sales = Sale.employee_sales(today).sum('payment_amount')
|
||||
@inventories = StockJournal.inventory_balances(today).sum(:balance)
|
||||
|
||||
@total_sale = Sale.total_sale(today)
|
||||
|
||||
Reference in New Issue
Block a user