fix(india): transporter name is null while generating e-way bill (backport #30736)

This commit is contained in:
mergify[bot]
2022-04-20 19:48:22 +05:30
committed by GitHub
parent 5b2b76c4a7
commit 68fd8a1dcf

View File

@@ -766,12 +766,13 @@ class GSPConnector():
headers = self.get_headers()
eway_bill_details = get_eway_bill_details(args)
data = json.dumps({
'Irn': args.irn,
'Distance': cint(eway_bill_details.distance),
'TransMode': eway_bill_details.mode_of_transport,
'TransId': eway_bill_details.gstin,
'TransName': eway_bill_details.transporter,
'TransName': eway_bill_details.name,
'TrnDocDt': eway_bill_details.document_date,
'TrnDocNo': eway_bill_details.document_name,
'VehNo': eway_bill_details.vehicle_no,