'from', 'type' => 'date', 'label' => 'Od', 'default' => today()] * * @return array> */ public function inputs(): array; /** * Return column definitions for the table and exports. * Example: [ ['key' => 'id', 'label' => '#'], ['key' => 'user', 'label' => 'Uporabnik'] ] * * @return array> */ public function columns(): array; /** * Build the data source query for the report based on validated filters. * Should return an Eloquent or Query builder. * * @param array $filters * @return EloquentBuilder|QueryBuilder */ public function query(array $filters); /** * Optional per-report authorization logic. */ public function authorize(Request $request): void; /** * Execute the report and return a paginator for UI. * * @param array $filters */ public function paginate(array $filters, int $perPage = 25): LengthAwarePaginator; }