firefly-iii/resources/views/categories/show_with_date.twig

51 lines
1.6 KiB
Twig
Raw Normal View History

2015-09-25 09:00:14 -05:00
{% extends "./layout/default.twig" %}
{% block breadcrumbs %}
2015-09-25 09:33:45 -05:00
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, category, carbon) }}
2015-09-25 09:00:14 -05:00
{% endblock %}
{% block content %}
2015-09-25 09:33:45 -05:00
2015-09-25 09:00:14 -05:00
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
2015-09-25 09:00:14 -05:00
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'overview'|_ }} (period)</h3>
2015-09-25 09:00:14 -05:00
</div>
<div class="box-body">
2015-12-18 09:37:02 -06:00
<canvas id="period-specific-period" style="width:100%;height:350px;"></canvas>
2015-09-25 09:00:14 -05:00
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<p><a href="{{ route('categories.show',[category.id]) }}">Back to all periods</a></p>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'transactions'|_ }}</h3>
</div>
<div class="box-body no-padding">
{% include 'list/journals' %}
</div>
</div>
</div>
</div>
{% endblock %}
{% block scripts %}
<script type="text/javascript">
var categoryID = {{ category.id }};
var categoryDate = "{{ carbon.format('Y-m-d') }}";
2015-09-25 09:00:14 -05:00
</script>
2015-12-18 09:37:02 -06:00
<script type="text/javascript" src="js/Chart.min.js"></script>
<script type="text/javascript" src="js/charts.js"></script>
2015-09-25 09:00:14 -05:00
<script type="text/javascript" src="js/categories.js"></script>
{% endblock %}