check tax error, filter for credit payment report and add query for sale payment in receipt no detail
This commit is contained in:
@@ -60,7 +60,7 @@ class Origami::RoomsController < BaseOrigamiController
|
||||
accounts = @customer.tax_profiles
|
||||
@account_arr =[]
|
||||
accounts.each do |acc|
|
||||
account = TaxProfile.find(acc)
|
||||
account = TaxProfile.find_by_id(acc)
|
||||
if !account.nil?
|
||||
@account_arr.push(account)
|
||||
end
|
||||
@@ -85,7 +85,7 @@ class Origami::RoomsController < BaseOrigamiController
|
||||
accounts = @customer.tax_profiles
|
||||
@account_arr =[]
|
||||
accounts.each do |acc|
|
||||
account = TaxProfile.find(acc)
|
||||
account = TaxProfile.find_by_id(acc)
|
||||
if !account.nil?
|
||||
@account_arr.push(account)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user