mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
30 lines
730 B
PHP
30 lines
730 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Section\ProcessingResource\Pages;
|
|
|
|
use Filament\Actions\CreateAction;
|
|
use App\Filament\PageList;
|
|
use App\Filament\Resources\Section\ProcessingResource;
|
|
use App\Models\Processing;
|
|
use App\Models\Source;
|
|
use Filament\Pages\Actions;
|
|
use Filament\Resources\Pages\ListRecords;
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
|
|
class ListProcessings extends PageList
|
|
{
|
|
protected static string $resource = ProcessingResource::class;
|
|
|
|
protected function getHeaderActions(): array
|
|
{
|
|
return [
|
|
CreateAction::make(),
|
|
];
|
|
}
|
|
|
|
protected function getTableQuery(): Builder
|
|
{
|
|
return Processing::query()->with('search_box')->orderBy('mode', 'asc');
|
|
}
|
|
}
|