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 @@
{{ journal.getMeta('invoice_date').formatLocalized(monthAndDayFormat) }} |
{% endif %}
- {% if journal.hasMeta('internal_reference') %}
+ {% if journal.hasMeta('internal_reference') and journal.getMeta('internal_reference') != "" %}
| {{ trans('list.internal_reference') }} |
{{ journal.getMeta('internal_reference') }} |
{% endif %}
- {% if journal.hasMeta('notes') %}
+ {% if journal.hasMeta('notes') and journal.getMeta('notes') != "" %}
| {{ trans('list.notes') }} |
{{ journal.getMeta('notes')|nl2br }} |
@@ -237,7 +237,7 @@
{% for transaction in transactions %}
- | #{{ transaction.source_id }}
+ |
{% if transaction.description == "" %}
{{ journal.description }}
{% else %}
|