2015-05-02 11:26:55 -05:00
|
|
|
{% extends "./layout/default.twig" %}
|
|
|
|
{% block content %}
|
2015-05-16 06:06:38 -05:00
|
|
|
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, start, shared) }}
|
2015-05-15 13:38:39 -05:00
|
|
|
|
2015-05-15 15:00:00 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-10 col-md-8 col-sm-12">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-line-chart"></i>
|
|
|
|
{{ 'incomeVsExpenses'|_ }}
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div id="income-expenses-chart"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-02 11:26:55 -05:00
|
|
|
</div>
|
2015-05-15 15:00:00 -05:00
|
|
|
<div class="col-lg-2 col-md-4 col-sm-12">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-calendar"></i>
|
|
|
|
{{ 'incomeVsExpenses'|_ }}
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div id="income-expenses-sum-chart"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-02 11:26:55 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-05-15 15:00:00 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-6">
|
2015-05-16 06:53:08 -05:00
|
|
|
{% include 'partials/reports/accounts.twig' %}
|
|
|
|
{% include 'partials/reports/income-vs-expenses.twig' %}
|
2015-05-02 11:26:55 -05:00
|
|
|
|
2015-05-15 15:00:00 -05:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-3 col-md-3 col-sm-3">
|
2015-05-16 06:53:08 -05:00
|
|
|
{% include 'partials/reports/income.twig' %}
|
2015-05-02 11:26:55 -05:00
|
|
|
</div>
|
2015-05-15 15:00:00 -05:00
|
|
|
<div class="col-lg-3 col-md-3 col-sm-3">
|
2015-05-16 06:53:08 -05:00
|
|
|
{% include 'partials/reports/expenses.twig' %}
|
2015-05-02 11:26:55 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-16 00:28:58 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-tasks fa-fw"></i>
|
|
|
|
{{ 'categories'|_ }}
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2015-05-16 03:05:22 -05:00
|
|
|
<div id="categories"></div>
|
2015-05-16 00:28:58 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-15 15:00:00 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-tasks fa-fw"></i>
|
|
|
|
{{ 'budgets'|_ }}
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div id="budgets"></div>
|
|
|
|
</div>
|
2015-05-02 11:26:55 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
2015-05-15 15:00:00 -05:00
|
|
|
<!-- load the libraries and scripts necessary for Google Charts: -->
|
|
|
|
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
|
|
|
|
<script type="text/javascript" src="js/gcharts.options.js"></script>
|
|
|
|
<script type="text/javascript" src="js/gcharts.js"></script>
|
2015-05-02 11:26:55 -05:00
|
|
|
|
2015-05-15 15:00:00 -05:00
|
|
|
<script type="text/javascript">
|
2015-05-16 06:06:38 -05:00
|
|
|
var year = '{{start.year}}';
|
2015-05-16 00:28:58 -05:00
|
|
|
var shared = {% if shared %}'/shared'{% else %}''{% endif %};
|
|
|
|
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}) }}';
|
2015-05-15 15:00:00 -05:00
|
|
|
</script>
|
2015-05-02 11:26:55 -05:00
|
|
|
|
2015-05-15 15:00:00 -05:00
|
|
|
<script type="text/javascript" src="js/reports.js"></script>
|
2015-05-02 11:26:55 -05:00
|
|
|
|
|
|
|
{% endblock %}
|