- Add GetAllScheduleIdsAction + GetFilteredScheduleIdsTask - Add GET /dashboard/schedules/all-ids route returning filtered IDs - Add selectAllFiltered method to Index.vue - Button 'Выбрать все N' appears when total > per-page count
18 lines
379 B
PHP
18 lines
379 B
PHP
<?php
|
|
|
|
namespace App\Containers\Dashboard\Actions\Schedules;
|
|
|
|
use App\Containers\Dashboard\Tasks\Schedules\GetFilteredScheduleIdsTask;
|
|
|
|
class GetAllScheduleIdsAction
|
|
{
|
|
public function __construct(
|
|
private readonly GetFilteredScheduleIdsTask $task,
|
|
) {}
|
|
|
|
public function run(array $filters = []): array
|
|
{
|
|
return $this->task->run($filters);
|
|
}
|
|
}
|