mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 00:04:24 +00:00
Expand report index to include both "normal" year and fiscal year.
This commit is contained in:
@@ -61,6 +61,11 @@
|
|||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
{% for year, data in months %}
|
{% for year, data in months %}
|
||||||
<a href="#" class="date-select" data-start="{{ data.start }}" data-end="{{ data.end }}">{{ year }}</a>
|
<a href="#" class="date-select" data-start="{{ data.start }}" data-end="{{ data.end }}">{{ year }}</a>
|
||||||
|
{% if customFiscalYear == 1 %}
|
||||||
|
<br/>
|
||||||
|
<a href="#" class="date-select" data-start="{{ data.fiscal_start }}" data-end="{{ data.fiscal_end }}">{{ year }}
|
||||||
|
({{ 'fiscal_year'|_|lower }})</a>
|
||||||
|
{% endif %}
|
||||||
<ul class="list-inline">
|
<ul class="list-inline">
|
||||||
{% for month in data.months %}
|
{% for month in data.months %}
|
||||||
<li>
|
<li>
|
||||||
@@ -109,14 +114,14 @@
|
|||||||
]) }}">{{ 'report_this_year_quick'|_ }}</a>
|
]) }}">{{ 'report_this_year_quick'|_ }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% if customFiscalYear == 1 %}
|
{% if customFiscalYear == 1 %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ route('reports.report',
|
<a href="{{ route('reports.report',
|
||||||
['default',
|
['default',
|
||||||
'currentFiscalYearStart',
|
'currentFiscalYearStart',
|
||||||
'currentFiscalYearEnd',
|
'currentFiscalYearEnd',
|
||||||
accountList
|
accountList
|
||||||
]) }}">{{ 'report_this_fiscal_year_quick'|_ }}</a>
|
]) }}">{{ 'report_this_fiscal_year_quick'|_ }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ route('reports.report',
|
<a href="{{ route('reports.report',
|
||||||
|
Reference in New Issue
Block a user