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.

ViewBudget.php 960B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. namespace App\Filament\Company\Resources\Accounting\BudgetResource\Pages;
  3. use App\Filament\Company\Resources\Accounting\BudgetResource;
  4. use Filament\Forms\Form;
  5. use Filament\Infolists\Infolist;
  6. use Filament\Resources\Pages\ViewRecord;
  7. use Filament\Support\Enums\MaxWidth;
  8. class ViewBudget extends ViewRecord
  9. {
  10. protected static string $resource = BudgetResource::class;
  11. public function getMaxContentWidth(): MaxWidth | string | null
  12. {
  13. return '8xl';
  14. }
  15. protected function getHeaderActions(): array
  16. {
  17. return [
  18. //
  19. ];
  20. }
  21. public function getRelationManagers(): array
  22. {
  23. return [
  24. BudgetResource\RelationManagers\BudgetItemsRelationManager::class,
  25. ];
  26. }
  27. public function form(Form $form): Form
  28. {
  29. return $form->schema([]);
  30. }
  31. public function infolist(Infolist $infolist): Infolist
  32. {
  33. return $infolist->schema([]);
  34. }
  35. }