Use note object instead of field #888

This commit is contained in:
James Cole
2017-10-03 10:30:56 +02:00
parent 4af0c18020
commit d1a6b37eb3
7 changed files with 59 additions and 11 deletions

View File

@@ -235,13 +235,11 @@
<td>{{ journal.getMeta('internal_reference') }}</td>
</tr>
{% endif %}
{% if journal.hasMeta('notes') and journal.getMeta('notes') != "" %}
{% if journal.notes.count == 1 %}
<tr>
<td>{{ trans('list.notes') }}</td>
<td>{{ journal.getMeta('notes')|nl2br }}</td>
<td>{{ journal.notes.first.markdown|raw }}</td>
</tr>
{% endif %}
{% if journal.bill %}