bill and tax

This commit is contained in:
Myat Zin Wai Maw
2019-12-17 15:06:37 +06:30
parent cd9756d061
commit 8af99742a3
4 changed files with 8 additions and 15 deletions

View File

@@ -527,6 +527,8 @@ class Sale < ApplicationRecord
if order_source.to_s == "emenu"
order_source = "cashier"
elsif order_source.to_s == "app"
order_source = "food_court"
end
tax_profiles = unique_tax_profiles(order_source, self.customer_id)