added gholak
This commit is contained in:
@@ -399,7 +399,7 @@ class PargarInboundWalletService
|
||||
$wallet = $walletInterface->wallet;
|
||||
|
||||
$mainGold = app(WalletBalanceService::class)
|
||||
->effectiveMainWalletGold((int) $customer->id, $ownerType);
|
||||
->accountingVisibleMainWalletGold((int) $customer->id, $ownerType);
|
||||
|
||||
$goldDiff = $goldInv - $mainGold;
|
||||
$rialDiff = $rialInv - (float) ($wallet->cash ?? 0);
|
||||
|
||||
Reference in New Issue
Block a user