|
@@ -903,7 +903,10 @@ function __construct(){
|
|
|
'qty'=>$qty,
|
|
|
'price'=>$price,
|
|
|
'row_total'=> sprintf("%.2f",($row_total*1 - $discount_amount*1 + $tax_amount*1)) ,
|
|
|
- 'sub_total'=>$price*$qty
|
|
|
+ 'sub_total'=>$price*$qty,
|
|
|
+ 'tax_amount'=>$tax_amount,
|
|
|
+ 'discount_amount'=>$discount_amount
|
|
|
+
|
|
|
];
|
|
|
}
|
|
|
return $extra_price;
|