fix some bugs
This commit is contained in:
@@ -891,6 +891,17 @@ class SingleOrderController extends Controller
|
||||
if (self::isSmsNotifEnabled('sms_notif_order_customer')) {
|
||||
$this->send($customer->mobile, $customerMessage);
|
||||
}
|
||||
|
||||
try {
|
||||
app(\App\Services\CustomerAppNotifyService::class)->notifyCustomer(
|
||||
(int) $customer->id,
|
||||
$transactionType . ' ' . $subjectTitle,
|
||||
"گرم: {$amount}\nمبلغ کل: " . number_format((float) $totalPrice) . " ریال",
|
||||
'success'
|
||||
);
|
||||
} catch (\Throwable $e) {
|
||||
report($e);
|
||||
}
|
||||
}
|
||||
|
||||
private function assertProviderOrderAccepted(array &$data): void
|
||||
|
||||
Reference in New Issue
Block a user