You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

EditClient.php 593B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace App\Filament\Company\Resources\Common\ClientResource\Pages;
  3. use App\Filament\Company\Resources\Common\ClientResource;
  4. use Filament\Actions;
  5. use Filament\Resources\Pages\EditRecord;
  6. use Filament\Support\Enums\MaxWidth;
  7. class EditClient extends EditRecord
  8. {
  9. protected static string $resource = ClientResource::class;
  10. protected function getHeaderActions(): array
  11. {
  12. return [
  13. Actions\DeleteAction::make(),
  14. ];
  15. }
  16. public function getMaxContentWidth(): MaxWidth | string | null
  17. {
  18. return MaxWidth::FiveExtraLarge;
  19. }
  20. }