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.

detailed-report.blade.php 1.6KB

12345678910111213141516171819202122232425262728293031323334
  1. <x-filament-panels::page>
  2. <x-filament-tables::container>
  3. <form wire:submit="loadReportData" class="p-6">
  4. <div class="flex flex-col md:flex-row items-start md:items-center justify-center gap-4 md:gap-12">
  5. {{ $this->form }}
  6. @if($this->hasToggleableColumns())
  7. <x-filament-tables::column-toggle.dropdown
  8. :form="$this->toggleTableColumnForm"
  9. :trigger-action="$this->toggleColumnsAction"
  10. />
  11. @endif
  12. <x-filament::button type="submit" wire:target="loadReportData" class="flex-shrink-0">
  13. Update Report
  14. </x-filament::button>
  15. </div>
  16. </form>
  17. <div class="relative divide-y divide-gray-200 overflow-x-auto dark:divide-white/10 dark:border-t-white/10 min-h-64">
  18. <div wire:init="loadReportData" class="flex items-center justify-center w-full h-full absolute">
  19. <div wire:loading wire:target="loadReportData">
  20. <x-filament::loading-indicator class="p-6 text-primary-700 dark:text-primary-300" />
  21. </div>
  22. </div>
  23. @if($this->reportLoaded)
  24. <div wire:loading.remove wire:target="loadReportData">
  25. @if($this->report)
  26. <x-company.tables.reports.detailed-report :report="$this->report" />
  27. @endif
  28. </div>
  29. @endif
  30. </div>
  31. <div class="es-table__footer-ctn border-t border-gray-200"></div>
  32. </x-filament-tables::container>
  33. </x-filament-panels::page>