mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-29 19:48:27 +00:00
Merge pull request #45447 from aerele/pricing-rule-pos-qty
fix(pos): add item in the existing item row when discount is applied
This commit is contained in:
@@ -682,7 +682,7 @@ erpnext.PointOfSale.Controller = class {
|
||||
i.item_code === item_code &&
|
||||
(!has_batch_no || (has_batch_no && i.batch_no === batch_no)) &&
|
||||
i.uom === uom &&
|
||||
i.rate === flt(rate)
|
||||
i.price_list_rate === flt(rate)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user