mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-17 23:13:57 +01:00
feat: add transaction type coloring and note to installments table
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
{% endif %}
|
||||
{% if installment_plans %}
|
||||
<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>
|
||||
@@ -61,7 +61,12 @@
|
||||
_="install prompt_swal"><i class="fa-solid fa-trash fa-fw"></i></a>
|
||||
</div>
|
||||
</td>
|
||||
<td class="col">{{ installment_plan.description }}</td>
|
||||
<td class="col">
|
||||
<div class="{% if installment_plan.type == 'EX' %}tw-text-red-400{% else %}tw-text-green-400{% endif %}">
|
||||
{{ installment_plan.description }}
|
||||
</div>
|
||||
<div class="tw-text-sm tw-text-gray-400">{{ installment_plan.notes|linebreaks }}</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user