Merge branch 'staging' into develop
This commit is contained in:
@@ -13,8 +13,8 @@ erpnext.taxes_and_totals = erpnext.payments.extend({
|
||||
+ flt(effective_item_rate) * ( flt(item.margin_rate_or_amount) / 100);
|
||||
} else {
|
||||
item.rate_with_margin = flt(effective_item_rate) + flt(item.margin_rate_or_amount);
|
||||
item.base_rate_with_margin = flt(item.rate_with_margin) * flt(this.frm.doc.conversion_rate);
|
||||
}
|
||||
item.base_rate_with_margin = flt(item.rate_with_margin) * flt(this.frm.doc.conversion_rate);
|
||||
|
||||
item.rate = flt(item.rate_with_margin , precision("rate", item));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user