added percent in product price
This commit is contained in:
@@ -25,6 +25,7 @@ use App\Models\Setting;
|
||||
use App\Models\Cnt;
|
||||
use App\Services\MontzarService;
|
||||
use App\Services\ConfigService;
|
||||
use App\Services\ProductPriceService;
|
||||
use App\Services\ProductDisplayPriceService;
|
||||
use App\Services\ReferralGiftService;
|
||||
use App\Services\WalletBroadcastService;
|
||||
@@ -1057,7 +1058,11 @@ class SingleOrderController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
return (float) ($direction === 1 ? $product->cash_fee_buy : $product->cash_fee_sell);
|
||||
return ProductPriceService::resolveCashFeeRial(
|
||||
$product,
|
||||
$direction,
|
||||
ProductPriceService::productBasePriceRial($product)
|
||||
);
|
||||
}
|
||||
|
||||
private function bonusGift($customer, $referrer)
|
||||
|
||||
Reference in New Issue
Block a user