Skip to content

Commit

Permalink
fix: linters
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninad1306 committed Oct 2, 2024
1 parent b095cc4 commit a5ef21b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion india_compliance/public/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,12 +413,13 @@ Object.assign(india_compliance, {

return alert;
},

is_e_waybill_generatable_for_subcontracting(doc) {
if (doc.purpose == "Send to Subcontractor" && doc.subcontracting_order) {
return true;
}

if (in_list(["Material Transfer", "Material Issue"], doc.purpose)) {
if (["Material Transfer", "Material Issue"].includes(doc.purpose)) {
return true;
}

Expand Down

0 comments on commit a5ef21b

Please sign in to comment.