fix some bugs
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user