Remove unused overview #384

This commit is contained in:
James Cole
2017-12-11 05:57:07 +01:00
parent 12c15ea590
commit d7f2b7cd63
5 changed files with 2 additions and 105 deletions

View File

@@ -21,20 +21,6 @@
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ ('in_out_accounts_period_'~preferredPeriod)|_ }}</h3>
</div>
<div class="box-body table-responsive no-padding" id="inOutPeriod">
{# loading indicator #}
<div class="overlay">
<i class="fa fa-refresh fa-spin"></i>
</div>
</div>
</div>
</div>
</div>
{# chart #}
@@ -133,7 +119,6 @@
// boxes with stuff:
var spentUri = '{{ route('report-data.expense.spent', [accountIds, expenseIds, start.format('Ymd'), end.format('Ymd')]) }}';
var groupedUri = '{{ route('report-data.expense.spent-grouped', [accountIds, expenseIds, start.format('Ymd'), end.format('Ymd')]) }}';
var categoryUri = '{{ route('report-data.expense.category', [accountIds, expenseIds, start.format('Ymd'), end.format('Ymd')]) }}';
var budgetUri = '{{ route('report-data.expense.budget', [accountIds, expenseIds, start.format('Ymd'), end.format('Ymd')]) }}';
var expenseUri = '{{ route('report-data.expense.expenses', [accountIds, expenseIds, start.format('Ymd'), end.format('Ymd')]) }}';

View File

@@ -1,37 +0,0 @@
<table class="table table-hover sortable">
<thead>
<tr>
<th style="width:40%;" data-defaultsign="az">{{ 'name'|_ }}</th>
<th style="width:20%;" data-defaultsign="az">{{ 'period'|_ }}</th>
<th class="hidden-xs" style="width:20%;text-align: right;" data-defaultsort="disabled">{{ 'spent'|_ }}</th>
<th class="hidden-xs" style="width:20%;text-align: right;" data-defaultsort="disabled">{{ 'earned'|_ }}</th>
</tr>
</thead>
<tbody>
{% for name, periods in result %}
{% for periodIndex, period in periods %}
<tr>
<td>{{ name }}</td>
<td data-value="{{ periodIndex }}">{{ period.period }}</td>
<td style="text-align: right;" >
{% if period.spent|length == 0%}
{{ '0'|formatAmount }}
{% endif %}
{% for expense in period.spent %}
{{ formatAmountBySymbol(expense.sum, expense.currency.symbol, expense.currency.dp) }}<br />
{% endfor %}
</td>
<td style="text-align: right;" >
{% if period.earned|length == 0 %}
{{ '0'|formatAmount }}
{% endif %}
{% for income in period.earned %}
{{ formatAmountBySymbol(income.sum, income.currency.symbol, income.currency.dp) }}<br />
{% endfor %}
</td>
</tr>
{% endfor %}
{% endfor %}
</tbody>
</table>