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
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:
@@ -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
|
||||
));
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user