Merge pull request 'changed logic in transporter bid' (#127) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 10s

Reviewed-on: #127
This commit was merged in pull request #127.
This commit is contained in:
2026-01-24 07:37:14 +00:00

View File

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