Skip to content

Commit 0721816

Browse files
rohitwaghchauremergify[bot]
authored andcommitted
fix: incorrect condition
(cherry picked from commit 0c1a8e9) (cherry picked from commit 502b8f2)
1 parent e45d077 commit 0721816

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

erpnext/public/js/controllers/transaction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
335335
let d = locals[cdt][cdn];
336336
return {
337337
filters: {
338-
docstatus: ("<", 2),
338+
docstatus: ["<", 2],
339339
inspection_type: inspection_type,
340340
reference_name: doc.name,
341341
item_code: d.item_code

0 commit comments

Comments
 (0)