mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-18 15:34:01 +01:00
feat: add transaction type coloring and note to recurring transaction table
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
{% endif %}
|
||||
{% if recurring_transactions %}
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover">
|
||||
<table class="table table-hover align-middle">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="col-auto"></th>
|
||||
@@ -97,7 +97,13 @@
|
||||
_="install prompt_swal"><i class="fa-solid fa-trash fa-fw"></i></a>
|
||||
</div>
|
||||
</td>
|
||||
<td class="col">{{ recurring_transaction.description }}</td>
|
||||
<td class="col">
|
||||
<div class="{% if recurring_transaction.type == 'EX' %}tw-text-red-400{% else %}tw-text-green-400{% endif %}">
|
||||
{{ recurring_transaction.description }}
|
||||
</div>
|
||||
<div class="tw-text-sm tw-text-gray-400">{{ recurring_transaction.notes }}</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user