@foreach (var type in accountTypes)
{
}
@foreach (var tax in taxConditions)
{
}
Documentos
@foreach (var tipo in documentTypes)
{
}
@if (customer.PhSCustomerDocuments?.Any() == true)
{
| Tipo |
Número |
|
@foreach (var doc in customer.PhSCustomerDocuments)
{
| @documentTypes.FirstOrDefault(t => t.Id == doc.DocumenttypesId)?.Name |
@doc.DocumentNumber |
|
}
}
Direcciones
@if (editingIndex != -1)
{
}
@if (customer.PhSCustomerAddresses.Any())
{
| Sucursal |
Dirección |
Ciudad |
Provincia |
País |
|
@foreach (var address in customer.PhSCustomerAddresses.Select((value, index) => new { value, index }))
{
| @address.value.BusinessName |
@address.value.Streetaddress1 |
@address.value.City |
@address.value.Stateprovince |
@address.value.Country |
|
}
}