fix get_order_items_details method in order_item and add taxes in receipt

This commit is contained in:
Yan
2017-06-15 17:57:58 +06:30
parent e085adab74
commit 03feae5b0f
6 changed files with 48 additions and 22 deletions

View File

@@ -186,6 +186,7 @@ class Sale < ApplicationRecord
end
# Tax Calculate
def apply_tax(total_taxable)
#if tax is not apply create new record