added pargar

This commit is contained in:
2026-07-05 16:43:34 +03:30
parent 694fddc909
commit 7ac7bbdb90
27 changed files with 1341 additions and 493 deletions
+2 -2
View File
@@ -168,7 +168,7 @@ class ReferralGiftService
'withdraw_id' => $withdraw->id,
]);
if ($config->getString('send_to_tahesab', 'false') === 'true') {
if ($config->isTahesabAccounting()) {
try {
app(TahesabController::class)->referrerGoldReward(
$customer,
@@ -226,7 +226,7 @@ class ReferralGiftService
'withdraw_id' => $withdraw->id,
]);
if ($config->getString('send_to_tahesab', 'false') === 'true') {
if ($config->isTahesabAccounting()) {
try {
app(TahesabController::class)->goldReward([
'customer_id' => $customer->id,