Jump to year report if the period is too long.

This commit is contained in:
James Cole
2015-12-12 19:04:30 +01:00
parent 61bbe8a905
commit a2ccbf7844
5 changed files with 87 additions and 168 deletions

View File

@@ -122,8 +122,14 @@
<script type="text/javascript">
var year = '{{start.year}}';
var shared = {% if shared %}'/shared'
{% else %}''{% endif %};
// to report another URL:
var startDate = '{{ start.format('Ymd') }}';
var endDate = '{{ end.format('Ymd') }}';
var reportType = '{{ report_type }}';
var accountIds = '{{ accountIds }}';
var incomeTopLength = {{ incomeTopLength }};
var expenseTopLength = {{ expenseTopLength }};
var incomeRestShow = false; // starts hidden.