@include('components.inputs._selectType', [
"for" => "carteirinha_paciente",
"label" => "Carteirinha do Paciente",
"name" => "carteirinha_paciente",
"required" => true,
"readonly" => false,
"options" => collect(App\Enums\CarteirinhaPaciente::cases())
->mapWithKeys(fn($status) => [$status->name => $status->value])
->toArray(),
"selected" => old('status', $paciente->carteirinha_paciente ?? ''),
"placeholder" => "Selecione o status da carteirinha...",
"small" => "Informe o status atual da carteirinha.",
"onchange" => null
])
@include('components.inputs._selectType', [
"for" => "status_cadastro",
"label" => "Status atual do cadastro",
"name" => "status_cadastro",
"required" => true,
"readonly" => false,
"options" => collect(App\Enums\StatusCadastro::cases())
->mapWithKeys(fn($status) => [$status->name => $status->value])
->toArray(),
"selected" => old('status', $paciente->status_cadastro ?? ''),
"placeholder" => "Selecione o status do cadastro...",
"small" => "Informe o status atual deste cadastro.",
"onchange" => null
])