Link to account transactions on balance assertions report

This commit is contained in:
RunasSudo 2024-06-29 22:40:34 +10:00
parent 4ce9bdf211
commit 03f991727c
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
<tr> <tr>
<td class="py-0.5 pr-1 text-gray-900">{{ assertion.dt.strftime('%Y-%m-%d') }}</td> <td class="py-0.5 pr-1 text-gray-900">{{ assertion.dt.strftime('%Y-%m-%d') }}</td>
<td class="py-0.5 px-1 text-gray-900">{{ assertion.description }}</td> <td class="py-0.5 px-1 text-gray-900">{{ assertion.description }}</td>
<td class="py-0.5 px-1 text-gray-900">{{ assertion.account }}</td> <td class="py-0.5 px-1 text-gray-900"><a href="{{ url_for('account_transactions', account=assertion.account) }}" class="text-gray-900 hover:text-blue-700 hover:underline">{{ assertion.account }}</a></td>
<td class="py-0.5 px-1 text-gray-900 text-end">{{ (assertion.balance()|abs).format() }}</td> <td class="py-0.5 px-1 text-gray-900 text-end">{{ (assertion.balance()|abs).format() }}</td>
<td class="py-0.5 pr-1 text-gray-900">{{ 'Dr' if assertion.quantity >= 0 else 'Cr' }}</td> <td class="py-0.5 pr-1 text-gray-900">{{ 'Dr' if assertion.quantity >= 0 else 'Cr' }}</td>
<td class="py-0.5 px-1 text-gray-900"> <td class="py-0.5 px-1 text-gray-900">