fix: linting
This commit is contained in:
parent
69514c4761
commit
deaf2e80cb
@ -509,10 +509,10 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
show_batch_dialog = 1;
|
||||
}
|
||||
// clear barcode if setting item (else barcode will take priority)
|
||||
if(this.frm.from_barcode == 0) {
|
||||
if (this.frm.from_barcode == 0) {
|
||||
item.barcode = null;
|
||||
}
|
||||
this.frm.from_barcode = this.frm.from_barcode - 1 >= 0 ? this.frm.from_barcode - 1 : 0
|
||||
this.frm.from_barcode = this.frm.from_barcode - 1 >= 0 ? this.frm.from_barcode - 1 : 0;
|
||||
|
||||
|
||||
if(item.item_code || item.barcode || item.serial_no) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user