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