mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +00:00
fix: linting
This commit is contained in:
committed by
GitHub
parent
69514c4761
commit
deaf2e80cb
@@ -509,10 +509,10 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
|||||||
show_batch_dialog = 1;
|
show_batch_dialog = 1;
|
||||||
}
|
}
|
||||||
// clear barcode if setting item (else barcode will take priority)
|
// 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;
|
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) {
|
if(item.item_code || item.barcode || item.serial_no) {
|
||||||
|
|||||||
Reference in New Issue
Block a user