@@ -739,6 +739,9 @@
var num = 1-( ((prop.row.purchasePrice/Number(formData.exchangeRate)*(1+prop.row.taxRate/100)*(1+prop.row.tariff/100)*(1-prop.row.discount/100))/prop.row.salePrice)+(prop.row.customerCommision/100-prop.row.intermediatorCommission/100))
num = (Number(num)*100).toFixed(2)
prop.row.grossMargin = !isNaN(num)?num:''
+ if(prop.row.quantity){
+ prop.row.taxAmount = (prop.row.salePrice*prop.row.quantity).toFixed(2)
+ }
}
function changeDiscountOrExchangeRate(){