This commit is contained in:
James Cole
2017-11-17 19:31:48 +01:00
parent 02c2636b7d
commit 141225c980
5 changed files with 82 additions and 7 deletions

View File

@@ -142,6 +142,14 @@
var accountRevenueUri = '{{ route('chart.account.revenue') }}';
var accountExpenseUri = '{{ route('chart.account.expense') }}';
var piggyInfoUri = '{{ route('json.fp.piggy-banks') }}';
var todayText = ' {{ 'today'|_ }}';
<!-- render vertical line with text "today" -->
{% if start.lte(today) and end.gte(today) %}
var today = {{ today.day }};
{% else %}
var today = -1;
{% endif %}
</script>
<script type="text/javascript" src="js/lib/Chart.bundle.min.js?v={{ FF_VERSION }}"></script>