mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
[minor] fixes + patch (#14937)
This commit is contained in:
committed by
Nabin Hait
parent
3c9839f832
commit
69fa808def
@@ -288,6 +288,9 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
|
||||
if (callback) {
|
||||
callback();
|
||||
}
|
||||
},
|
||||
error: () => {
|
||||
setTimeout(() => frappe.set_route('List', 'POS Profile'), 2000);
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -1187,7 +1190,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
|
||||
message: __('Discount amount cannot be greater than 100%')
|
||||
});
|
||||
me.update_discount(item_code, discount);
|
||||
}else{
|
||||
}else{
|
||||
me.update_discount(item_code, discount);
|
||||
me.update_value();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user