add without tax item to commodity and sell invoices

This commit is contained in:
babak alizadeh 2024-06-08 14:56:51 +03:30
parent bae07712e9
commit 5cd392660d

View file

@ -127,7 +127,9 @@ class CommodityController extends AbstractController
$temp['khadamat'] = false; $temp['khadamat'] = false;
if ($item->isKhadamat()) if ($item->isKhadamat())
$temp['khadamat'] = true; $temp['khadamat'] = true;
$temp['withoutTax'] = false;
if ($item->isWithoutTax())
$temp['withoutTax'] = true;
$temp['commodityCountCheck'] = $item->isCommodityCountCheck(); $temp['commodityCountCheck'] = $item->isCommodityCountCheck();
$temp['minOrderCount'] = $item->getMinOrderCount(); $temp['minOrderCount'] = $item->getMinOrderCount();
$temp['dayLoading'] = $item->getDayLoading(); $temp['dayLoading'] = $item->getDayLoading();