close cashier pdf and receipt bill pdf changes for credit payment

This commit is contained in:
phyusin
2018-07-12 15:50:58 +06:30
parent ebd3918cfa
commit 03abeabb4e
12 changed files with 116 additions and 52 deletions

View File

@@ -60,7 +60,9 @@ class Origami::HomeController < BaseOrigamiController
@account_arr =[]
accounts.each do |acc|
account = TaxProfile.find(acc)
@account_arr.push(account)
if !account.nil?
@account_arr.push(account)
end
end
end
end
@@ -83,7 +85,9 @@ class Origami::HomeController < BaseOrigamiController
@account_arr =[]
accounts.each do |acc|
account = TaxProfile.find(acc)
@account_arr.push(account)
if !account.nil?
@account_arr.push(account)
end
end
end
@sale_taxes = []