|
@@ -81,9 +81,9 @@ class InvoiceItem extends Base{
|
|
|
$diff=[];
|
|
|
$tax_diff=1;
|
|
|
$cat_diff=1;
|
|
|
- if($item['tax']!=$taxInfo['tax']){
|
|
|
+ if(str_replace("%","",$item['tax'])!=$taxInfo['tax']){
|
|
|
$diff["tax"] = [
|
|
|
- "inv_tax"=>$item['tax'],
|
|
|
+ "inv_tax"=>str_replace('%','',$item['tax']),
|
|
|
"order_tax"=>$taxInfo['tax'],
|
|
|
];
|
|
|
$tax_diff=2;
|