mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
Fixed version conflict
This commit is contained in:
@@ -4,10 +4,6 @@
|
||||
erpnext.taxes_and_totals = erpnext.payments.extend({
|
||||
setup: function() {},
|
||||
apply_pricing_rule_on_item: function(item){
|
||||
if(!item.margin_type){
|
||||
item.margin_rate_or_amount = 0.0;
|
||||
}
|
||||
|
||||
if(item.margin_type == "Percentage"){
|
||||
item.total_margin = item.price_list_rate + item.price_list_rate * ( item.margin_rate_or_amount / 100);
|
||||
}else{
|
||||
|
||||
@@ -710,7 +710,8 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
"brand": d.brand,
|
||||
"qty": d.qty,
|
||||
"parenttype": d.parenttype,
|
||||
"parent": d.parent
|
||||
"parent": d.parent,
|
||||
"pricing_rule": d.pricing_rule
|
||||
});
|
||||
|
||||
// if doctype is Quotation Item / Sales Order Iten then add Margin Type and rate in item_list
|
||||
|
||||
Reference in New Issue
Block a user