update conflix for request bill

This commit is contained in:
Aung Myo
2018-02-20 13:32:27 +06:30
3 changed files with 21 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ class ApplicationController < ActionController::Base
@current_user ||= Employee.find_by_token_session(session[:session_token]) if session[:session_token]
end
# Get current Cashier
# Get current Cashier
def get_cashier
@cashier = Employee.where("role = 'cashier' AND token_session <> ''")
end