Skip to content

Firefly III: a personal finances manager

Better text [skip ci]

James Coleda60bfbcff6e
diff --git a/resources/views/transactions/show.twig b/resources/views/transactions/show.twig
index dffc57e658..5a7e7f42d3 100644
--- a/resources/views/transactions/show.twig
+++ b/resources/views/transactions/show.twig
@@ -122,14 +122,14 @@
<td>{{ journal.getMeta('invoice_date').formatLocalized(monthAndDayFormat) }}</td>
</tr>
{% endif %}
- {% if journal.hasMeta('internal_reference') %}
+ {% if journal.hasMeta('internal_reference') and journal.getMeta('internal_reference') != "" %}
<tr>
<td>{{ trans('list.internal_reference') }}</td>
<td>{{ journal.getMeta('internal_reference') }}</td>
</tr>
{% endif %}
- {% if journal.hasMeta('notes') %}
+ {% if journal.hasMeta('notes') and journal.getMeta('notes') != "" %}
<tr>
<td>{{ trans('list.notes') }}</td>
<td>{{ journal.getMeta('notes')|nl2br }}</td>
@@ -237,7 +237,7 @@
<tbody>
{% for transaction in transactions %}
<tr>
- <td>#{{ transaction.source_id }}
+ <td>
{% if transaction.description == "" %}
{{ journal.description }}
{% else %}