This commit is contained in:
Yan
2017-07-18 16:06:36 +06:30
parent c068d702b3
commit a5546920b6
9 changed files with 54 additions and 24 deletions

View File

@@ -85,7 +85,7 @@ class HomeController < ApplicationController
if !shift.nil?
redirect_to origami_root_path
else
redirect_to crm_customers_path
redirect_to dashboard_path
end
elsif employee.role == "cashier"
#check if cashier has existing open cashier