Fix excel export in reports section (#539)

This commit is contained in:
jekkos
2016-05-09 20:15:23 +02:00
parent d78c871855
commit 8fcc24db71

View File

@@ -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;
}