changed message in edit transporter page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Gemini PR Review / Gemini PR Review (pull_request) Successful in 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 11s
Laravel Larastan / larastan (pull_request) Failing after 4m47s
Laravel Pint / pint (pull_request) Failing after 4m53s

This commit is contained in:
dhanabalan
2026-01-27 14:24:02 +05:30
parent f9aa6cd1ba
commit fd87748a38

View File

@@ -23,14 +23,11 @@ class EditRfqTransporterBid extends EditRecord
return;
}
// dd($this->record);
$rank = RfqTransporterBid::where('request_quotation_id', $this->record->request_quotation_id)
->orderBy('total_freight_charge')
->pluck('id')
->search($this->record->id) + 1;
$requestQuotation = RequestQuotation::findOrFail(
$this->record->request_quotation_id
);
@@ -65,7 +62,8 @@ class EditRfqTransporterBid extends EditRecord
// $user1 = Filament::auth()->user();
$body = "{$currentUser->name} current rank is #{$rank}";
$rfqNumber = $this->record->requestQuotation->rfq_number;
$body = "{$currentUser->name} has updated the bid for RFQ No '{$rfqNumber}'. The current rank is #{$rank}.";
// Notification::make()
// ->title('Rank Updated')
@@ -80,7 +78,7 @@ class EditRfqTransporterBid extends EditRecord
Notification::make()
->title('Rank Updated')
->body("{$currentUser->name} current rank is #{$rank}")
->body("{$currentUser->name} has updated the bid for RFQ No '{$rfqNumber}'. The current rank is #{$rank}.")
->success()
->sendToDatabase($users);
@@ -103,8 +101,6 @@ class EditRfqTransporterBid extends EditRecord
);
}
}
}
protected function getHeaderActions(): array