Add empty account
This commit is contained in:
parent
ff2ef4aba0
commit
e76644a122
1 changed files with 58 additions and 48 deletions
|
|
@ -27,6 +27,12 @@
|
|||
Cancel
|
||||
</FluentButton>
|
||||
|
||||
@if (matchingBankTransactions == null || matchingBankTransactions.Count == 0)
|
||||
{
|
||||
<p>Keine Transaktionen vorhanden!</p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -44,8 +50,10 @@
|
|||
@foreach (var transaction in matchingBankTransactions)
|
||||
{
|
||||
<tr>
|
||||
<td><div>@transaction.BookingDate.ToString("dd.MM.yyyy")</div></td>
|
||||
<td><div>@transaction.ValueDate.ToString("dd.MM.yyyy")</div></td>
|
||||
<td>
|
||||
<div>@transaction.BookingDate.ToString("dd.MM.yyyy")</div></td>
|
||||
<td>
|
||||
<div>@transaction.ValueDate.ToString("dd.MM.yyyy")</div></td>
|
||||
<td>
|
||||
<div class="text-column">
|
||||
<input list="texts" @bind="@transaction.Text" placeholder="Type or select..."/>
|
||||
|
|
@ -62,6 +70,7 @@
|
|||
</td>
|
||||
<td>
|
||||
<select @bind="@transaction.TargetAccountId">
|
||||
<option value=""></option>
|
||||
@foreach (var account in accounts.OrderBy(a => a.Number).ThenBy(a => a.Name))
|
||||
{
|
||||
<option value="@account.Id">@($"{account.Number} / {@account.Name}")</option>
|
||||
|
|
@ -77,3 +86,4 @@
|
|||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
Loading…
Reference in a new issue