Bug 6934: second fix to calendars
authorremi <remi.mayrand-provencher@inLibro.com>
Fri, 4 Mar 2016 21:13:14 +0000 (16:13 -0500)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 11:50:25 +0000 (11:50 +0000)
Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt

index 341ebca..276c3e7 100644 (file)
@@ -42,7 +42,7 @@ $(document).ready(function() {
 
         alertString +="-------------------------------------------------------------------\n\n";
 
-        if ( !$('#filter_date_begin').val() || !$('#filter_date_end').val()){
+        if ( !$('#from').val() || !$('#to').val()){
             isFormValid = false;
             alertString += "\n- " + _("Dates cannot be empty");
         }