Reorder columns

This commit is contained in:
Claudio Schaad 2025-06-28 11:25:37 +02:00
parent b46d0fe5f1
commit 7236434f8a
2 changed files with 8 additions and 8 deletions

View file

@ -41,10 +41,10 @@ else
<tr> <tr>
<th>Buchungsdatum</th> <th>Buchungsdatum</th>
<th>Valutadatum</th> <th>Valutadatum</th>
<th>Betrag</th>
<th>Zusatzinfo</th> <th>Zusatzinfo</th>
<th>Text</th> <th>Text</th>
<th>Konto</th> <th>Konto</th>
<th>Betrag</th>
<th></th> <th></th>
<th></th> <th></th>
</tr> </tr>
@ -59,9 +59,6 @@ else
<td> <td>
<div>@transaction.ValueDate.ToString("dd.MM.yyyy")</div> <div>@transaction.ValueDate.ToString("dd.MM.yyyy")</div>
</td> </td>
<td>
<div>@Math.Abs(transaction.Value).ToFormattedString()</div>
</td>
<td class="zusatzinfo-column" title="@transaction.BankTransactionText"> <td class="zusatzinfo-column" title="@transaction.BankTransactionText">
<div>@transaction.BankTransactionText</div> <div>@transaction.BankTransactionText</div>
</td> </td>
@ -86,6 +83,9 @@ else
<AccountSelector Accounts="accounts" @bind-AccountId="@transaction.TargetAccountId" /> <AccountSelector Accounts="accounts" @bind-AccountId="@transaction.TargetAccountId" />
} }
</td> </td>
<td>
<div>@Math.Abs(transaction.Value).ToFormattedString()</div>
</td>
<td style="align-content: center"> <td style="align-content: center">
<FluentButton IconEnd="@(new Icons.Regular.Size16.SplitVertical())" Appearance="Appearance.Neutral" <FluentButton IconEnd="@(new Icons.Regular.Size16.SplitVertical())" Appearance="Appearance.Neutral"
OnClick="@(() => SplitBankTransactionAsync(transaction))" Disabled="@(transaction.Value > 0 || transaction.ReadOnly)" /> OnClick="@(() => SplitBankTransactionAsync(transaction))" Disabled="@(transaction.Value > 0 || transaction.ReadOnly)" />

View file

@ -18,10 +18,10 @@ th {
th:nth-child(1), td:nth-child(1) { width: 120px; } /* Booking Date */ th:nth-child(1), td:nth-child(1) { width: 120px; } /* Booking Date */
th:nth-child(2), td:nth-child(2) { width: 120px; } /* Valuta Date */ th:nth-child(2), td:nth-child(2) { width: 120px; } /* Valuta Date */
th:nth-child(3), td:nth-child(3) { width: 100px; text-align: right; } /* Amount */ th:nth-child(3), td:nth-child(3) { } /* Zusatzinfo */
th:nth-child(4), td:nth-child(4) { } /* Zusatzinfo */ th:nth-child(4), td:nth-child(4) { width: 240px; } /* Text */
th:nth-child(5), td:nth-child(5) { width: 240px; } /* Text */ th:nth-child(5), td:nth-child(5) { width: 300px; } /* Account */
th:nth-child(6), td:nth-child(6) { width: 300px; } /* Account */ th:nth-child(6), td:nth-child(6) { width: 100px; text-align: right; } /* Amount */
th:nth-child(7), td:nth-child(7) { width: 40px; text-align: center; } /* Split */ th:nth-child(7), td:nth-child(7) { width: 40px; text-align: center; } /* Split */
th:nth-child(8), td:nth-child(8) { width: 40px; text-align: center; } /* Save */ th:nth-child(8), td:nth-child(8) { width: 40px; text-align: center; } /* Save */