From 8fcc24db71ebdfd4f4e4319f2c2d4aff59996f4c Mon Sep 17 00:00:00 2001 From: jekkos Date: Mon, 9 May 2016 20:15:23 +0200 Subject: [PATCH] Fix excel export in reports section (#539) --- application/views/reports/date_input_excel_export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/reports/date_input_excel_export.php b/application/views/reports/date_input_excel_export.php index 6790d8804..bc3d6df00 100644 --- a/application/views/reports/date_input_excel_export.php +++ b/application/views/reports/date_input_excel_export.php @@ -60,7 +60,7 @@ $(document).ready(function() var sale_type = $("#sale_type").val(); var location = window.location + '/' + start_date + '/' + end_date + '/' + sale_type; - if ($("input[name='export_excel']").attr('checked')) + if ($("input[name='export_excel']").is(':checked')) { location += '/' + 1; }