add expiry for login

This commit is contained in:
phyusin
2018-06-26 11:23:34 +06:30
parent ba0a7b3391
commit da1f0a4765
5 changed files with 21 additions and 6 deletions

View File

@@ -160,7 +160,6 @@ class Origami::RoomsController < BaseOrigamiController
accounts = TaxProfile.where("group_type = ?","cashier").order("order_by ASC")
@tax_arr =[]
accounts.each do |acc|
account = TaxProfile.find(acc.id)
@tax_arr.push(account.name)
end