From 12941cfe662edfe69e5b5217f622f955f26077bc Mon Sep 17 00:00:00 2001 From: Myat Zin Wai Maw Date: Wed, 22 Jan 2020 16:56:28 +0630 Subject: [PATCH] order --- app/views/api/orders/create.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/api/orders/create.json.jbuilder b/app/views/api/orders/create.json.jbuilder index 2c5c7e43..de0e5841 100755 --- a/app/views/api/orders/create.json.jbuilder +++ b/app/views/api/orders/create.json.jbuilder @@ -8,7 +8,7 @@ if @status == true if @sale json.sale_id @sale.sale_id json.sale_items do - json.array! @sale.sale_items, :product_name, :qty, :remark,:price + json.array! @sale.sale_items, :product_name, :qty, :remark,:unit_price,:price end json.grand_total @sale.grand_total json.total_tax @sale.total_tax