Update the ranges to reflect the current dates.

This commit is contained in:
James Cole
2015-03-05 21:13:38 +01:00
parent 1139f950ed
commit e9969bdd5f
3 changed files with 25 additions and 6 deletions

View File

@@ -132,6 +132,9 @@
var dateRangeURL = "{{route('daterange')}}";
var token = "{{csrf_token()}}";
var firstDate = moment("{{Session::get('first')->format('Y-m-d')}}");
var currentMonthName = "{{$currentMonthName}}";
var previousMonthName = "{{$previousMonthName}}";
var nextMonthName = "{{$nextMonthName}}";
$('#daterange span').text(titleString);
</script>