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
@@ -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