fix some bugs

This commit is contained in:
2026-07-27 22:09:08 +03:30
parent 2aed828bac
commit 7c68115b39
8 changed files with 220 additions and 2 deletions
@@ -206,6 +206,17 @@ class paypingController extends Controller
}
});
try {
app(\App\Services\CustomerAppNotifyService::class)->notifyCustomer(
(int) $Withdraw->customer_id,
'واریز به کیف پول',
'حساب شما به مقدار ' . number_format((float) $Withdraw->cash) . ' ریال شارژ شد.',
'success'
);
} catch (\Throwable $e) {
report($e);
}
return view('showTransactionReport', compact('Withdraw', 'site_url'));
}
@@ -297,6 +308,17 @@ class paypingController extends Controller
}
});
try {
app(\App\Services\CustomerAppNotifyService::class)->notifyCustomer(
(int) $Withdraw->customer_id,
'واریز به کیف پول',
'حساب شما به مقدار ' . number_format((float) $Withdraw->cash) . ' ریال شارژ شد.',
'success'
);
} catch (\Throwable $e) {
report($e);
}
return view('showTransactionReport', compact('Withdraw', 'site_url'));
}