mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
First working example of category report. No content, just place holders. #396
This commit is contained in:
65
resources/views/reports/category/month.twig
Normal file
65
resources/views/reports/category/month.twig
Normal file
@@ -0,0 +1,65 @@
|
||||
{% extends "./layout/default" %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
Summary here. Accounts and categories involved. Summary of in/out
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
Pie chart with spending (aka all withdrawals in category). Optional checkbox to include all other transactions.
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
Pie chart with income (aka all deposits in category). Optional checkbox to include all other transactions (for comparison).
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
big chart here
|
||||
|
||||
Show income / expenses per period. Differs per report: month = per day, year = per month, multi-year = per year.
|
||||
In a bar chart, possibly grouped by expense/revenue account.
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-3">
|
||||
List of spending (withdrawals) by account, if relevant. Grouped:<br>
|
||||
|
||||
BC: 456
|
||||
AH: 123
|
||||
|
||||
order by size
|
||||
|
||||
linked to chart
|
||||
|
||||
use reset button to reset after chart was clicked.
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
List of spending (withdrawals) by transaction, if relevant. Not grouped<br>
|
||||
|
||||
more groceries: 456
|
||||
groceries: 123
|
||||
|
||||
ordered by size. top x list?
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
Same but for income
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% endblock %}
|
||||
|
||||
{% block styles %}
|
||||
{% endblock %}
|
||||
@@ -113,81 +113,47 @@
|
||||
<h3 class="box-title">{{ 'quick_link_reports'|_ }}</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<h4>{{ 'quick_link_default_report'|_ }}</h4>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ route('reports.report.default',
|
||||
[
|
||||
'currentMonthStart',
|
||||
'currentMonthEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_this_month_quick'|_ }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('reports.report.default',
|
||||
[
|
||||
'currentYearStart',
|
||||
'currentYearEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_this_year_quick'|_ }}</a>
|
||||
</li>
|
||||
{% if customFiscalYear == 1 %}
|
||||
<li>
|
||||
<a href="{{ route('reports.report.default',
|
||||
['default',
|
||||
'currentFiscalYearStart',
|
||||
'currentFiscalYearEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_this_fiscal_year_quick'|_ }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>
|
||||
<a href="{{ route('reports.report.default',
|
||||
[
|
||||
start.format('Ymd'),
|
||||
'currentMonthEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_all_time_quick'|_ }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>{{ 'quick_link_audit_report'|_ }}</h4>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ route('reports.report.audit',
|
||||
[
|
||||
'currentMonthStart',
|
||||
'currentMonthEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_this_month_quick'|_ }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('reports.report.audit',
|
||||
[
|
||||
'currentYearStart',
|
||||
'currentYearEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_this_year_quick'|_ }}</a>
|
||||
</li>
|
||||
{% if customFiscalYear == 1 %}
|
||||
{% for type in ['default','audit'] %}
|
||||
<h4>{{ ('quick_link_'~type~'_report')|_ }}</h4>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ route('reports.report.audit',
|
||||
<a href="{{ route('reports.report.'~type,
|
||||
[
|
||||
'currentFiscalYearStart',
|
||||
'currentFiscalYearEnd',
|
||||
'currentMonthStart',
|
||||
'currentMonthEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_this_fiscal_year_quick'|_ }}</a>
|
||||
]) }}">{{ 'report_this_month_quick'|_ }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>
|
||||
<a href="{{ route('reports.report.audit',
|
||||
[
|
||||
start.format('Ymd'),
|
||||
'currentMonthEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_all_time_quick'|_ }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<li>
|
||||
<a href="{{ route('reports.report.'~type,
|
||||
[
|
||||
'currentYearStart',
|
||||
'currentYearEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_this_year_quick'|_ }}</a>
|
||||
</li>
|
||||
{% if customFiscalYear == 1 %}
|
||||
<li>
|
||||
<a href="{{ route('reports.report.'~type,
|
||||
['default',
|
||||
'currentFiscalYearStart',
|
||||
'currentFiscalYearEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_this_fiscal_year_quick'|_ }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>
|
||||
<a href="{{ route('reports.report.'~type,
|
||||
[
|
||||
start.format('Ymd'),
|
||||
'currentMonthEnd',
|
||||
accountList
|
||||
]) }}">{{ 'report_all_time_quick'|_ }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endfor %}
|
||||
<p>
|
||||
<em>{{ 'reports_can_bookmark'|_ }}</em>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user