Merge pull request 'changed logic in edit transporter bid' (#147) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Reviewed-on: #147
This commit was merged in pull request #147.
This commit is contained in:
@@ -34,6 +34,9 @@ class EditRfqTransporterBid extends EditRecord
|
|||||||
|
|
||||||
$currentUser = Filament::auth()->user();
|
$currentUser = Filament::auth()->user();
|
||||||
|
|
||||||
|
if ($currentUser && ! $recipients1->contains('id', $currentUser->id)) {
|
||||||
|
$recipients1->push($currentUser);
|
||||||
|
}
|
||||||
|
|
||||||
if ($currentUser && ! $recipients->contains('id', $currentUser->id)) {
|
if ($currentUser && ! $recipients->contains('id', $currentUser->id)) {
|
||||||
$recipients->push($currentUser);
|
$recipients->push($currentUser);
|
||||||
@@ -62,19 +65,6 @@ class EditRfqTransporterBid extends EditRecord
|
|||||||
$body
|
$body
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// $subscriptions = $user->pushSubscriptions;
|
|
||||||
|
|
||||||
// dd($subscriptions);
|
|
||||||
|
|
||||||
// foreach ($subscriptions as $sub) {
|
|
||||||
// $sub->notify(
|
|
||||||
// new PushAlertNotification(
|
|
||||||
// 'Rank Updated',
|
|
||||||
// $body
|
|
||||||
// )
|
|
||||||
// );
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user