update filamentphp basic

This commit is contained in:
xiaomlove
2024-12-25 23:09:07 +08:00
parent 183d362076
commit f146a654c2
154 changed files with 848 additions and 673 deletions
@@ -10,7 +10,7 @@ class EditHitAndRun extends EditRecord
{
protected static string $resource = HitAndRunResource::class;
protected function getActions(): array
protected function getHeaderActions(): array
{
return [
Actions\DeleteAction::make(),
@@ -11,7 +11,7 @@ class ListHitAndRuns extends PageList
{
protected static string $resource = HitAndRunResource::class;
protected function getActions(): array
protected function getHeaderActions(): array
{
return [
// Actions\CreateAction::make(),
@@ -78,7 +78,7 @@ class ViewHitAndRun extends ViewRecord
];
}
protected function getActions(): array
protected function getHeaderActions(): array
{
$actions = [];
if (in_array($this->record->status, HitAndRun::CAN_PARDON_STATUS)) {