Add Document Section in CustomerForm
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 4m54s

This commit is contained in:
Leandro Hernan Rojas 2025-04-11 01:18:36 -03:00
parent 0c7ec75e9d
commit 87157f2d04

View File

@ -67,20 +67,20 @@
<div class="row align-items-end">
<div class="col-sm-4">
<label for="TipoDocumento">Tipo:</label>
<InputSelect id="TipoDocumento" class="form-control" @bind-Value="nuevoDocumento.TipoDocumentoId">
<InputSelect id="TipoDocumento" class="form-control" @bind-Value="documentFormModel.DocumenttypesId">
<option value="">Seleccione</option>
@foreach (var tipo in documentTypes)
{
<option value="@tipo.Id">@tipo.Nombre</option>
<option value="@tipo.Id">@tipo.Name</option>
}
</InputSelect>
</div>
<div class="col-sm-4">
<label for="NumeroDocumento">Número:</label>
<InputText id="NumeroDocumento" class="form-control" @bind-Value="nuevoDocumento.Numero" />
<InputText id="NumeroDocumento" class="form-control" @bind-Value="documentFormModel.DocumentNumber" />
</div>
<div class="col-sm-2">
<button type="button" class="btn btn-success" @onclick="AgregarDocumento">Agregar</button>
<button type="button" class="btn btn-success" @onclick="AddCustomerDocument">Agregar</button>
</div>
</div>