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

@@ -134,8 +134,7 @@ class Origami::HomeController < 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)
@tax_arr.push(acc.name)
end
lookup_spit_bill = Lookup.collection_of('split_bill')