show incl exec in receipt bill

This commit is contained in:
phyusin
2018-05-25 14:46:40 +06:30
parent 5feea91584
commit 590b67abdf
3 changed files with 13 additions and 3 deletions

View File

@@ -421,6 +421,7 @@ class Sale < ApplicationRecord
end
total_tax_amount = 0
tax_incl_exec = "execulsive"
#tax_profile - list by order_by
tax_profiles = TaxProfile.all.order("order_by asc")
customer = Customer.find(sale.customer_id)
@@ -483,7 +484,7 @@ class Sale < ApplicationRecord
end
end
end
sale.tax_type =
sale.total_tax = total_tax_amount
end