Fix view of bills.

This commit is contained in:
James Cole
2018-06-24 16:17:42 +02:00
parent 59f5b38dca
commit 89f8f9b45b
4 changed files with 5 additions and 13 deletions

View File

@@ -91,13 +91,13 @@
<a href="{{ route('bills.rescan',object.data.id) }}" class="btn btn-default">{{ 'rescan_old'|_ }}</a>
</div>
</div>
{% if object.data.notes != '' %}
{% if object.data.notes.data[0] %}
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'notes'|_ }}</h3>
</div>
<div class="box-body table-responsive">
{{ object.data.notes }}
{{ object.data.notes.data[0].markdown|raw }}
</div>
</div>
{% endif %}