added gholak

This commit is contained in:
2026-08-01 17:30:14 +03:30
parent 9642e603e7
commit eaff9dead2
12 changed files with 538 additions and 75 deletions
+1 -1
View File
@@ -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);