This commit is contained in:
2026-03-12 15:46:27 +01:00
parent 8349ce5b41
commit 5d492de137
4 changed files with 19 additions and 1 deletions

View File

@@ -173,6 +173,9 @@
<th class="py-1 text-right">
@Model.Translation.Price
</th>
<th class="py-1 text-right">
@Model.Translation.Discount
</th>
<th class="py-1 text-right">
@Model.Translation.Amount
</th>
@@ -222,6 +225,7 @@
|| Model.Invoice.Type == Models.Invoice.Invoice.InvoiceType.BuyersOrder)
{
<td class="text-right">@Html.DisplayFor(x => item.Price)</td>
<td class="text-right">@Html.DisplayFor(x => item.Discount)%</td>
<td class="text-right">@Html.DisplayFor(x => item.TotalValue)</td>
}
else if (Model.Invoice.Type == Models.Invoice.Invoice.InvoiceType.Order)

View File

@@ -42,6 +42,7 @@ namespace EveryThing.Pages.Invoices
public string Article { get; set; } = "Artikel";
public string Quantity { get; set; } = "Količina";
public string Price { get; set; } = "Cena";
public string Discount { get; set; } = "Rabat";
public string Amount { get; set; } = "Znesek";
public string Dimensions { get; set; } = "Dimenzije";
public string Total { get; set; } = "Skupaj";
@@ -301,6 +302,7 @@ namespace EveryThing.Pages.Invoices
OrderNumber = invoiceState == Invoice.InvoiceState.Offer ? "Anfrage No." : "Bestellnummer",
Price = "Preis(€)",
Quantity = "Menge(Stk)",
Discount = "Rabatt",
SwiftBic = "SWIFT/BIC",
Total = "Gesamtsumme",
Project = "Projekt",