tax
This commit is contained in:
@@ -462,7 +462,8 @@ class Sale < ApplicationRecord
|
||||
|
||||
tax_profiles = unique_tax_profiles(order_source, self.customer_id)
|
||||
if tax_type.nil?
|
||||
if tax_profiles.count == 2
|
||||
#in previous >> if tax_profiles.count ==2
|
||||
if tax_profiles.count >= 2
|
||||
tax_type = "all"
|
||||
elsif tax_profiles.count == 1
|
||||
if tax_profiles.name.downcase == "service charges"
|
||||
|
||||
Reference in New Issue
Block a user