@page "/edit/{InvoiceId}" @using QuestPDF @using Server.Data @using Server.Model @rendermode InteractiveServer Home

Rechnung #@Invoice.InvoiceId

@if (!string.IsNullOrWhiteSpace(AlertMessage)) {
@AlertMessage
}

@if (Invoice.Customer != null) {
@Invoice.Customer.Name

@Invoice.Customer.Name2
@Invoice.Customer.Street
@Invoice.Customer.Zip - @Invoice.Customer.City
@Invoice.Customer.Phone

}

@foreach (var item in Invoice.Items) {
@if (!SettingsData.Instance.Kleinunternehmer) {
@foreach (var taxType in Enum.GetValues(typeof(TaxType))) { }
}
}