2015-05-01 15:44:35 -05:00
|
|
|
{% extends "./layout/default.twig" %}
|
2015-06-19 13:59:14 -05:00
|
|
|
|
|
|
|
{% block breadcrumbs %}
|
|
|
|
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, account) }}
|
|
|
|
{% endblock %}
|
|
|
|
|
2015-05-01 15:44:35 -05:00
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
2015-06-20 00:29:25 -05:00
|
|
|
<div class="box">
|
|
|
|
<div class="box-header with-border">
|
2015-05-01 15:44:35 -05:00
|
|
|
<i class="fa fa-fw {{ subTitleIcon }} fa-fw"></i> {{ account.name }}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ACTIONS MENU -->
|
|
|
|
<div class="pull-right">
|
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
|
2015-05-14 03:26:15 -05:00
|
|
|
{{ 'actions'|_ }}
|
2015-05-01 15:44:35 -05:00
|
|
|
<span class="caret"></span>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu pull-right" role="menu">
|
2015-05-14 04:31:54 -05:00
|
|
|
<li><a href="{{route('accounts.edit', account.id)}}"><i class="fa fa-pencil fa-fw"></i> {{ 'edit'|_ }}</a></li>
|
|
|
|
<li><a href="{{route('accounts.delete', account.id)}}"><i class="fa fa-trash fa-fw"></i> {{ 'delete'|_ }}</a></li>
|
2015-05-01 15:44:35 -05:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-20 00:29:25 -05:00
|
|
|
<div class="box-body">
|
2015-05-01 15:44:35 -05:00
|
|
|
<div id="overview-chart"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
2015-06-20 00:29:25 -05:00
|
|
|
<div class="box">
|
|
|
|
<div class="box-header with-border">
|
2015-05-14 08:56:23 -05:00
|
|
|
<i class="fa fa-repeat fa-fw"></i> {{ 'transactions'|_ }}
|
2015-05-01 15:44:35 -05:00
|
|
|
</div>
|
2015-06-20 00:29:25 -05:00
|
|
|
<div class="box-body">
|
2015-05-01 15:44:35 -05:00
|
|
|
{% include 'list/journals.twig' with {sorting:true} %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
var accountID = {{ account.id }};
|
|
|
|
</script>
|
|
|
|
<!-- 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>
|
|
|
|
<script src="js/jquery-ui.min.js" type="text/javascript"></script>
|
|
|
|
<script src="js/accounts.js" type="text/javascript"></script>
|
|
|
|
|
2015-05-05 05:51:57 -05:00
|
|
|
{% endblock %}
|