diff --git a/phronCare.UIBlazor/Pages/Sales/Quotes/Quotes.razor b/phronCare.UIBlazor/Pages/Sales/Quotes/Quotes.razor index cc73a84..aee1d14 100644 --- a/phronCare.UIBlazor/Pages/Sales/Quotes/Quotes.razor +++ b/phronCare.UIBlazor/Pages/Sales/Quotes/Quotes.razor @@ -7,12 +7,14 @@ @inject QuoteService quoteService @inject IToastService toastService -
| Quotenumber | -Emisión | -Estimada | -Cliente | -Médico | -Hospital | -Paciente | -Unidad | -Moneda | -Total | -Estado | -Vendedor | -Acciones | -
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Quotenumber | +Emisión | +Estimada | +Cliente | +Médico | +Hospital | +Paciente | +Unidad | +Moneda | +Total | +Estado | +Vendedor | +Acciones | +
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @quote.Quotenumber | -@quote.IssueDate.ToString("dd/MM/yyyy") | -@(quote.EstimatedDate.HasValue ? quote.EstimatedDate.Value.ToString("dd/MM/yyyy") : "—") | -@quote.CustomerName | -@quote.ProfessionalName | -@quote.InstitutionName | -@quote.PatientName | -@quote.BusinessUnitName | -@quote.Currency | -@string.Format("{0:N2}", quote.Total) | -- @quote.Status - | -@quote.SalespersonName | -- - - @if (quote.Status?.ToLower() == "emitido") - { - - } - | -
| @quote.Quotenumber | +@quote.IssueDate.ToString("dd/MM/yyyy") | +@(quote.EstimatedDate.HasValue ? quote.EstimatedDate.Value.ToString("dd/MM/yyyy") : "—") | +@quote.CustomerName | +@quote.ProfessionalName | +@quote.InstitutionName | +@quote.PatientName | +@quote.BusinessUnitName | +@quote.Currency | +@string.Format("{0:N2}", quote.Total) | ++ @quote.Status + | +@quote.SalespersonName | ++ + + @if (quote.Status?.ToLower() == "emitido") + { + + } + | +
No hay productos en este presupuesto.
- } - else - { -| Descripción | -Cant. | -Precio U. | -Subtotal | -
|---|---|---|---|
| @item.Description | -@item.Quantity | -@string.Format("{0:N2}", item.UnitPrice) | -@string.Format("{0:N2}", item.Quantity * item.UnitPrice) | -
| Impuesto | -Código | -Porcentaje | -Importe | -
|---|---|---|---|
| @tax.TaxName | -@tax.TaxCode | -@string.Format("{0:N2}%", tax.TaxRate) | -@string.Format("{0:N2}", tax.TaxAmount) | -
Cargando...
- } - else - { -No hay resultados.
- } + } + else if (IsLoading) + { +