Skip to content

Commit

Permalink
fix: changes as per review
Browse files Browse the repository at this point in the history
  • Loading branch information
ljain112 committed Nov 24, 2023
1 parent d6c4d8f commit 3a16b4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async function bulk_e_waybill_print(docnames) {
},
callback: function (r) {
if (r.message) {
if (r.message.invalid_log) {
if (r.message.invalid_log.length > 1) {
frappe.msgprint(
__(
"Cannot print e-Waybill for following documents:<br><br><strong>{0}</strong>",
Expand All @@ -107,7 +107,6 @@ async function bulk_e_waybill_print(docnames) {
{
doctype: "e-Waybill Log",
name: JSON.stringify(r.message.valid_log),
format: "e-Waybill",
},
true
);
Expand Down
1 change: 0 additions & 1 deletion india_compliance/gst_india/utils/e_waybill.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,6 @@ def get_valid_and_invalid_e_waybill_log(
valid_log = []
invalid_log = []

# get e-waybill nos from sales invoice
e_waybills = {
doc.name: doc.ewaybill
for doc in frappe.get_all(
Expand Down

0 comments on commit 3a16b4e

Please sign in to comment.