From 54b33a0b69decf6edd17315ce4fee62a83e251ca Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 22 Dec 2016 07:13:49 +0100 Subject: [PATCH] Removed views no longer used. --- resources/views/list/journals-tiny.twig | 17 --- resources/views/list/journals.twig | 140 ------------------ resources/views/popup/list/journals.twig | 86 ----------- .../reports/partials/journals-audit.twig | 136 ----------------- 4 files changed, 379 deletions(-) delete mode 100644 resources/views/list/journals-tiny.twig delete mode 100644 resources/views/list/journals.twig delete mode 100644 resources/views/popup/list/journals.twig delete mode 100644 resources/views/reports/partials/journals-audit.twig diff --git a/resources/views/list/journals-tiny.twig b/resources/views/list/journals-tiny.twig deleted file mode 100644 index d748294eb5..0000000000 --- a/resources/views/list/journals-tiny.twig +++ /dev/null @@ -1,17 +0,0 @@ -
- {% for journal in transactions %} - - {{ journal|typeIcon }} - {{ journal.description }} - - {{ journal|formatJournal }} - - - {% endfor %} -
diff --git a/resources/views/list/journals.twig b/resources/views/list/journals.twig deleted file mode 100644 index 45d5005fb8..0000000000 --- a/resources/views/list/journals.twig +++ /dev/null @@ -1,140 +0,0 @@ -{{ journals.render|raw }} - -{% if journals.count == 0 %} -

- {{ 'nothing_to_display'|_ }} -

-{% endif %} - -{% if journals.count > 0 %} - - - - - - - - - - - - {% if not hideBudgets %} - - {% endif %} - - - {% if not hideCategories %} - - {% endif %} - - - {% if not hideBills %} - - {% endif %} - - - - {% for journal in journals %} - - - - - - - - - - - - {% if not hideBudgets %} - - {% endif %} - - - {% if not hideCategories %} - - {% endif %} - - - {% if not hideBills %} - - {% endif %} - - {% endfor %} - -
{{ trans('list.description') }}{{ trans('list.amount') }}
- {{ journal.description }} - {% if journal.attachments|length > 0 %} - - {% endif %} - {% if journal.count_transactions > 2 %} - - {% endif %} - - - {% if not accountPerspective and not budgetPerspective %} - {{ journal|formatJournal }} - {% endif %} - - {% if accountPerspective %} - {{ formatAccountPerspective(journal, accountPerspective)|raw }} - {% endif %} - - {% if budgetPerspective %} - {{ formatBudgetPerspective(journal, budgetPerspective)|raw }} - {% endif %} -
- -
-
- {{ journals.render|raw }} -
-
- -{% endif %} \ No newline at end of file diff --git a/resources/views/popup/list/journals.twig b/resources/views/popup/list/journals.twig deleted file mode 100644 index 17d314ef89..0000000000 --- a/resources/views/popup/list/journals.twig +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - {% if not hideSource %} - - {% endif %} - {% if not hideDestination %} - - {% endif %} - - {% if not hideBudget %} - - {% endif %} - - - {% if not hideCategory %} - - {% endif %} - - - - - {% for journal in journals %} - - - - - - - {% if not hideSource %} - - {% endif %} - {% if not hideDestination %} - - {% endif %} - - - {% if not hideBudget %} - - {% endif %} - - - {% if not hideCategory %} - - {% endif %} - - {% endfor %} - - - - - - - -
 {{ trans('list.description') }}{{ trans('list.amount') }}
- {{ journal.description }} - - {% if not accountPerspective %} - {{ journal|formatJournal }} - {% else %} - {{ formatAccountPerspective(journal, accountPerspective)|raw }} - {% endif %} -
{{ 'sum'|_ }}:{{ sum|formatAmount }}
- -{{ journals.render|raw }} diff --git a/resources/views/reports/partials/journals-audit.twig b/resources/views/reports/partials/journals-audit.twig deleted file mode 100644 index 117d16bfbb..0000000000 --- a/resources/views/reports/partials/journals-audit.twig +++ /dev/null @@ -1,136 +0,0 @@ -{{ journals.render|raw }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {% for journal in journals %} - - - - - - - - - - - - - - - - - - - - - - - - - - {% if journal.bill_id %} - - {% else %} - - {% endif %} - - - - - - - - - - - {% endfor %} - -
  {{ trans('list.description') }}{{ trans('list.balance_before') }}{{ trans('list.amount') }}{{ trans('list.balance_after') }}{{ trans('list.date') }}{{ trans('list.book_date') }}{{ trans('list.process_date') }}{{ trans('list.interest_date') }}{{ trans('list.due_date') }}{{ trans('list.payment_date') }}{{ trans('list.invoice_date') }}{{ trans('list.from') }}{{ trans('list.to') }}{{ trans('list.bill') }}{{ trans('list.internal_reference') }}{{ trans('list.notes') }}{{ trans('list.create_date') }}{{ trans('list.update_date') }}
-
- -
-
{{ journal|typeIcon }}{{ journal.description }} - {{ journal.before|formatAmount }}{{ journal|formatJournal }}{{ journal.after|formatAmount }}{{ journal.date.formatLocalized(monthAndDayFormat) }} - {% if journal.hasMeta('book_date') %} - {{ journal.getMeta('book_date').formatLocalized(monthAndDayFormat) }} - {% endif %} - - {% if journal.hasMeta('process_date') %} - {{ journal.getMeta('process_date').formatLocalized(monthAndDayFormat) }} - {% endif %} - - {% if journal.hasMeta('interest_date') %} - {{ journal.getMeta('interest_date').formatLocalized(monthAndDayFormat) }} - {% endif %} - - {% if journal.hasMeta('due_date') %} - {{ journal.getMeta('due_date').formatLocalized(monthAndDayFormat) }} - {% endif %} - - {% if journal.hasMeta('payment_date') %} - {{ journal.getMeta('payment_date').formatLocalized(monthAndDayFormat) }} - {% endif %} - - {% if journal.hasMeta('invoice_date') %} - {{ journal.getMeta('invoice_date').formatLocalized(monthAndDayFormat) }} - {% endif %} - - {{ sourceAccount(journal)|raw }} - - {{ destinationAccount(journal)|raw }} - - {{ journalBudgets(journal)|raw }} - - {{ journalCategories(journal)|raw }} -  {{ journal.bill.name }}  - {% if journal.hasMeta('internal_reference') %} - {{ journal.getMeta('internal_reference') }} - {% endif %} - - {% if journal.hasMeta('notes') %} - {{ journal.getMeta('notes')|nl2br }} - {% endif %} - - {{ journal.created_at.formatLocalized(dateTimeFormat) }} - - {{ journal.updated_at.formatLocalized(dateTimeFormat) }} -
- -{{ journals.render|raw }}