fix: replace linebreaks with br on installments and recurring tables

This commit is contained in:
Herculino Trotta
2024-11-30 03:44:22 -03:00
parent a6d9793c03
commit 1e60546eed
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@
<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>
<div class="tw-text-sm tw-text-gray-400">{{ installment_plan.notes|linebreaksbr }}</div>
</td>
</tr>
{% endfor %}

View File

@@ -101,7 +101,7 @@
<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|linebreaks }}</div>
<div class="tw-text-sm tw-text-gray-400">{{ recurring_transaction.notes|linebreaksbr }}</div>
</td>
</tr>
{% endfor %}