fix: change name action to camel case
This commit is contained in:
parent
74122961f8
commit
c397ff3c55
@ -85,7 +85,7 @@ public function submitVerificationAction(): Action
|
||||
{
|
||||
$progress = $this->getVerificationProgress();
|
||||
|
||||
return Action::make('submit_verification')
|
||||
return Action::make('submitVerification')
|
||||
->label(fn (): string => $this->verificationRequest && $this->verificationRequest->status === VerificationStatus::NEED_REVISION
|
||||
? 'Kirim Ulang'
|
||||
: 'Ajukan Verifikasi')
|
||||
|
||||
@ -246,7 +246,7 @@ protected function getHeaderActions(): array
|
||||
$actions = [];
|
||||
|
||||
if (! $isPerusahaan) {
|
||||
$actions[] = Action::make('mark_completed')
|
||||
$actions[] = Action::make('markCompleted')
|
||||
->label('Tandai Selesai')
|
||||
->icon('heroicon-o-check-circle')
|
||||
->color('success')
|
||||
|
||||
@ -154,9 +154,9 @@ public static function configure(Table $table): Table
|
||||
|
||||
RejectAction::make('reject'),
|
||||
|
||||
SendProposalAction::make('send_proposal'),
|
||||
SendProposalAction::make('sendProposal'),
|
||||
|
||||
CreateTaskAssignmentAction::make('create_task_assignment'),
|
||||
CreateTaskAssignmentAction::make('createTaskAssignment'),
|
||||
|
||||
EditAction::make()
|
||||
->visible(fn (): bool => ! auth()->user()->hasRole('Perusahaan')),
|
||||
|
||||
@ -97,7 +97,7 @@ public static function configure(Table $table): Table
|
||||
RestoreAction::make(),
|
||||
])
|
||||
->headerActions([
|
||||
CrawlNewsAction::make('crawl_news'),
|
||||
CrawlNewsAction::make('crawlNews'),
|
||||
])
|
||||
->toolbarActions([
|
||||
BulkActionGroup::make([
|
||||
|
||||
Loading…
Reference in New Issue
Block a user