fix: add missing semicolons
This commit is contained in:
parent
ea70f6f933
commit
e39c3f2e69
@ -276,14 +276,13 @@ erpnext.PointOfSale.Controller = class {
|
||||
form_updated: (item, field, value) => {
|
||||
const item_row = frappe.model.get_doc(item.doctype, item.name);
|
||||
if (item_row && item_row[field] != value) {
|
||||
|
||||
const args = {
|
||||
field,
|
||||
value,
|
||||
item: this.item_details.current_item
|
||||
}
|
||||
};
|
||||
return this.on_cart_update(args)
|
||||
}
|
||||
};
|
||||
|
||||
return Promise.resolve();
|
||||
},
|
||||
|
@ -57,7 +57,7 @@ erpnext.PointOfSale.ItemDetails = class {
|
||||
|
||||
compare_with_current_item(item) {
|
||||
// returns true if `item` is currently being edited
|
||||
return item && item.name == this.current_item.name
|
||||
return item && item.name == this.current_item.name;
|
||||
}
|
||||
|
||||
toggle_item_details_section(item) {
|
||||
@ -76,7 +76,7 @@ erpnext.PointOfSale.ItemDetails = class {
|
||||
this.item_row = item;
|
||||
this.currency = this.events.get_frm().doc.currency;
|
||||
|
||||
this.current_item = item
|
||||
this.current_item = item;
|
||||
|
||||
this.render_dom(item);
|
||||
this.render_discount_dom(item);
|
||||
|
Loading…
Reference in New Issue
Block a user