Kleinunternehmer Mode
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@page "/edit/{InvoiceId}"
|
||||
@using QuestPDF
|
||||
@using Server.Data
|
||||
@using Server.Model
|
||||
@rendermode InteractiveServer
|
||||
@@ -85,18 +86,21 @@
|
||||
<InputNumber TValue="double" class="form-control" @bind-Value="@item.Quantity"></InputNumber>
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
<label class="form-label mb-0">Price (Netto)</label>
|
||||
<label class="form-label mb-0">Price @(SettingsData.Instance.Kleinunternehmer ? string.Empty : "(Netto)")</label>
|
||||
<InputNumber TValue="double" class="form-control" @bind-Value="@item.PriceNetto"></InputNumber>
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
<label class="form-label mb-0">Tax Type</label>
|
||||
<InputSelect @bind-Value="@item.TaxType" class="form-select">
|
||||
@foreach (var taxType in Enum.GetValues(typeof(TaxType)))
|
||||
{
|
||||
<option value="@taxType">@taxType</option>
|
||||
}
|
||||
</InputSelect>
|
||||
</div>
|
||||
@if (!SettingsData.Instance.Kleinunternehmer)
|
||||
{
|
||||
<div class="col-sm">
|
||||
<label class="form-label mb-0">Tax Type</label>
|
||||
<InputSelect @bind-Value="@item.TaxType" class="form-select">
|
||||
@foreach (var taxType in Enum.GetValues(typeof(TaxType)))
|
||||
{
|
||||
<option value="@taxType">@taxType</option>
|
||||
}
|
||||
</InputSelect>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="mb-1 mt-2">
|
||||
|
||||
Reference in New Issue
Block a user