Init
This commit is contained in:
19
Server/Components/Pages/CreatePage.razor
Normal file
19
Server/Components/Pages/CreatePage.razor
Normal file
@@ -0,0 +1,19 @@
|
||||
@page "/create"
|
||||
@rendermode InteractiveServer
|
||||
<h3>Neue Rechnung</h3>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Rechnungsnummer</label>
|
||||
<InputText class="form-control" @bind-Value="@InvoiceId" style="width: 100%; max-width: 400px;"></InputText>
|
||||
</div>
|
||||
|
||||
@if (!string.IsNullOrWhiteSpace(AlertMessage))
|
||||
{
|
||||
<div class="alert alert-danger mt-3">
|
||||
@AlertMessage
|
||||
</div>
|
||||
}
|
||||
|
||||
<button type="button" class="btn btn-primary" @onclick="CreateInvoiceAsync">Anlegen</button>
|
||||
Reference in New Issue
Block a user