<?php

declare(strict_types=1);

namespace App\Filament\Resources\DberpSalespersons\Pages;

use App\Filament\Resources\DberpSalespersons\DberpSalespersonResource;
use Filament\Actions\CreateAction;
use Filament\Resources\Pages\ListRecords;
use Illuminate\Contracts\Support\Htmlable;

class ListDberpSalespersons extends ListRecords
{
    protected static string $resource = DberpSalespersonResource::class;

    public function getSubheading(): string|Htmlable|null
    {
        return (string) __('dberp.ui.organization_list_salesperson_intro');
    }

    protected function getHeaderActions(): array
    {
        return [
            CreateAction::make(),
        ];
    }
}
