Views will show new dates #122

This commit is contained in:
James Cole 2016-03-12 07:37:36 +01:00
parent 8281279452
commit cd0585c7c4
3 changed files with 36 additions and 0 deletions

View File

@ -67,6 +67,14 @@
<!-- CATEGORY ALWAYS --> <!-- CATEGORY ALWAYS -->
{{ ExpandedForm.text('category') }} {{ ExpandedForm.text('category') }}
<!-- INTEREST DATE -->
{{ ExpandedForm.date('interest_date') }}
<!-- BOOK DATE -->
{{ ExpandedForm.date('book_date') }}
<!-- PROCESSING DATE -->
{{ ExpandedForm.date('process_date') }}
<!-- TAGS --> <!-- TAGS -->
{{ ExpandedForm.text('tags') }} {{ ExpandedForm.text('tags') }}

View File

@ -67,6 +67,15 @@
<!-- CATEGORY ALWAYS --> <!-- CATEGORY ALWAYS -->
{{ ExpandedForm.text('category',data['category']) }} {{ ExpandedForm.text('category',data['category']) }}
<!-- INTEREST DATE -->
{{ ExpandedForm.date('interest_date',data['interest_date']) }}
<!-- BOOK DATE -->
{{ ExpandedForm.date('book_date',data['book_date']) }}
<!-- PROCESSING DATE -->
{{ ExpandedForm.date('process_date',data['process_date']) }}
<!-- TAGS --> <!-- TAGS -->
{{ ExpandedForm.text('tags') }} {{ ExpandedForm.text('tags') }}

View File

@ -17,6 +17,25 @@
<td>{{ trans('list.date') }}</td> <td>{{ trans('list.date') }}</td>
<td>{{ journal.date.formatLocalized(monthAndDayFormat) }}</td> <td>{{ journal.date.formatLocalized(monthAndDayFormat) }}</td>
</tr> </tr>
{% if journal.interest_date %}
<tr>
<td>{{ trans('list.interest_date') }}</td>
<td>{{ journal.interest_date.formatLocalized(monthAndDayFormat) }}</td>
</tr>
{% endif %}
{% if journal.book_date %}
<tr>
<td>{{ trans('list.book_date') }}</td>
<td>{{ journal.book_date.formatLocalized(monthAndDayFormat) }}</td>
</tr>
{% endif %}
{% if journal.process_date %}
<tr>
<td>{{ trans('list.process_date') }}</td>
<td>{{ journal.process_date.formatLocalized(monthAndDayFormat) }}</td>
</tr>
{% endif %}
<tr> <tr>
<td>{{ trans('list.type') }}</td> <td>{{ trans('list.type') }}</td>
<td>{{ journal.transactiontype.type|_ }}</td> <td>{{ journal.transactiontype.type|_ }}</td>