mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
Merge pull request #28185 from vorasmit/ewaybill-fix
fix(regional): incorrect `totalValue` in ewaybill JSON
This commit is contained in:
@@ -443,7 +443,7 @@ def get_ewb_data(dt, dn):
|
|||||||
data = get_address_details(data, doc, company_address, billing_address, dispatch_address)
|
data = get_address_details(data, doc, company_address, billing_address, dispatch_address)
|
||||||
|
|
||||||
data.itemList = []
|
data.itemList = []
|
||||||
data.totalValue = doc.total
|
data.totalValue = doc.net_total
|
||||||
|
|
||||||
data = get_item_list(data, doc, hsn_wise=True)
|
data = get_item_list(data, doc, hsn_wise=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user