mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 21:53:08 -06:00
92 lines
3.3 KiB
Twig
92 lines
3.3 KiB
Twig
{% extends "./layout/default.twig" %}
|
|
|
|
{% block breadcrumbs %}
|
|
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, start, end, reportType, accountIds) }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
|
<div class="box">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title">{{ 'accountBalances'|_ }}</h3>
|
|
</div>
|
|
<div class="box-body">
|
|
<canvas id="account-balances-chart" style="width:100%;height:400px;"></canvas>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6 col-md-6 col-sm-6">
|
|
{% include 'reports/partials/accounts.twig' %}
|
|
{% include 'reports/partials/income-vs-expenses.twig' %}
|
|
</div>
|
|
<div class="col-lg-3 col-md-3 col-sm-3">
|
|
<!-- income -->
|
|
{% include 'reports/partials/income.twig' %}
|
|
</div>
|
|
<div class="col-lg-3 col-md-3 col-sm-3">
|
|
<!-- expenses -->
|
|
{% include 'reports/partials/expenses.twig' %}
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-8 col-md-8 col-sm-12">
|
|
<!-- budgets -->
|
|
{% include 'reports/partials/budgets.twig' %}
|
|
</div>
|
|
<div class="col-lg-4 col-md-4 col-sm-12">
|
|
<!-- categories -->
|
|
{% include 'reports/partials/categories.twig' %}
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
|
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
|
{% include 'reports/partials/balance.twig' %}
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
|
{% include 'reports/partials/bills.twig' %}
|
|
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% block styles %}
|
|
<link rel="stylesheet" href="css/bootstrap-sortable.css" type="text/css" media="all"/>
|
|
{% endblock %}
|
|
{% block scripts %}
|
|
|
|
<script type="text/javascript" src="js/bootstrap-sortable.js"></script>
|
|
<script type="text/javascript" src="js/Chart.min.js"></script>
|
|
<script type="text/javascript" src="js/charts.js"></script>
|
|
<script type="text/javascript">
|
|
var year = {{ start.year }};
|
|
var month = {{ start.month }};
|
|
|
|
// to report another URL:
|
|
var startDate = '{{ start.format('Ymd') }}';
|
|
var endDate = '{{ end.format('Ymd') }}';
|
|
var reportType = '{{ reportType }}';
|
|
var accountIds = '{{ accountIds }}';
|
|
|
|
var incomeTopLength = {{ incomeTopLength }};
|
|
var expenseTopLength = {{ expenseTopLength }};
|
|
var incomeRestShow = false; // starts hidden.
|
|
var expenseRestShow = false; // starts hidden.
|
|
var showTheRest = '{{ trans('firefly.showTheRest',{number:incomeTopLength}) }}';
|
|
var hideTheRest = '{{ trans('firefly.hideTheRest',{number:incomeTopLength}) }}';
|
|
var showTheRestExpense = '{{ trans('firefly.showTheRest',{number:expenseTopLength}) }}';
|
|
var hideTheRestExpense = '{{ trans('firefly.hideTheRest',{number:expenseTopLength}) }}';
|
|
</script>
|
|
<script type="text/javascript" src="js/reports/default/month.js"></script>
|
|
{% endblock %}
|