add cashier zone terminal
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
class CashierTerminal < ApplicationRecord
|
||||
has_many :cashier_terminal_by_zones
|
||||
has_many :zones, through: :cashier_terminal_by_zones
|
||||
|
||||
scope :available, -> {where(is_currently_login: false)}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user