fix: linting

This commit is contained in:
Mohammad Hasnain Mohsin Rajan
2020-12-09 12:36:14 +05:30
committed by GitHub
parent 69514c4761
commit deaf2e80cb

View File

@@ -512,7 +512,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
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) {