30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
@if (Entries.Any(e => e.IsDeleted))
|
|
{
|
|
<label class="history-toggle"><input type="checkbox" @bind="showDeleted" /> Gelöschte Buchungen anzeigen (@Entries.Count(e => e.IsDeleted))</label>
|
|
}
|
|
<div class="table-responsive entry-list">
|
|
<table class="table table-hover table-sm align-middle">
|
|
<thead class="table-light">
|
|
<tr>
|
|
<th style="width: 100px;">LfdNr</th>
|
|
<th style="width: 120px;">Datum</th>
|
|
<th>Bezeichnung</th>
|
|
<th style="width: 140px;" class="text-end">Betrag</th>
|
|
<th style="width: 11rem;">Aktionen</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var entry in VisibleEntries)
|
|
{
|
|
<EntryRow @key="entry.Id" Highlighted="@(entry.Id == HighlightedEntryId)" Entry="entry" OnDelete="OnDeleteEntry" OnRestore="OnRestoreEntry" OnEdit="OnEditEntry" />
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
@if (!VisibleEntries.Any())
|
|
{
|
|
<div class="text-center py-3 text-muted">@EmptyMessage</div>
|
|
}
|
|
|