fix grand total in receipt no

This commit is contained in:
Yan
2017-07-10 09:59:26 +06:30
parent 0031300947
commit 9402cde2bc
3 changed files with 4 additions and 2 deletions

View File

@@ -596,7 +596,7 @@ def self.get_separate_tax(from,to,payment_type=nil)
end
def grand_total_after_rounding
return self.grand_total.to_f + self.rounding_adjustment.to_f
return self.old_grand_total.to_f + self.rounding_adjustment.to_f
end
def get_cash_amount