changed logic in transporter bid
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 10s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 10s
Gemini PR Review / Gemini PR Review (pull_request) Successful in 13s
Laravel Larastan / larastan (pull_request) Failing after 2m8s
Laravel Pint / pint (pull_request) Failing after 2m26s

This commit is contained in:
dhanabalan
2026-01-24 13:06:45 +05:30
parent d2a2a35410
commit a1b8cc0eed

View File

@@ -35,19 +35,22 @@ class EditRfqTransporterBid extends EditRecord
$user1 = Filament::auth()->user();
$body = "$currentUser current rank is #{$rank}";
Notification::make()
->title('Rank Updated')
->body("$currentUser current rank is #{$rank}")
->success()
->sendToDatabase($recipients);
$body = "$currentUser current rank is #{$rank}";
$user1->notify(new PushAlertNotification(
'Rank Update',
foreach ($recipients as $user) {
$user->notify(
new PushAlertNotification(
'Rank Updated',
$body
));
)
);
}
}