I am using Koolreport with Laravel, and everything is working fin but when I came to use DateRangePicker like below it's thrown exception. my code
<?php
DateRangePicker::create(array(
"name"=>"dateRange",
"clientEvents"=>array(
"change"=>"function(e){
console.log(e.date);
console.log(e.oldDate);
}"),
));
and exception
ReferenceError: moment is not defined
at new DateRangePicker
at kool:1009
at KoolReport.js:105
at Array.forEach (<anonymous>)
at Object.checkScriptsAndCallback (KoolReport.js:102)
at Object.onScriptLoaded (KoolReport.js:88)
any help please?