api discount and change tax

This commit is contained in:
Thein Lin Kyaw
2023-10-17 16:52:12 +06:30
parent 81eb30c03a
commit 3441811bb0
27 changed files with 1225 additions and 1067 deletions

View File

@@ -1,8 +1,14 @@
if sale_item
json.sale_item_id sale_item.sale_item_id
json.product_name sale_item.product_name
json.product_alt_name sale_item.product_alt_name
json.qty sale_item.qty
json.unit_price sale_item.unit_price
json.price sale_item.price
json.taxable_price sale_item.taxable_price
json.status sale_item.status
if discount_item = sale_item.discount_item
json.discount discount_item.discount
json.discount_type discount_item.discount_type
end
end