Export all reports records (#868)

This commit is contained in:
FrancescoUK
2017-10-14 11:01:58 +01:00
parent 37ed01ed3e
commit 269bb900b5
2 changed files with 3 additions and 2 deletions

View File

@@ -74,7 +74,7 @@
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=7f52cbc5d2"/>
<!-- end mincss template tags -->
<!-- start minjs template tags -->
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=f6ce7fb090"></script>
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=b7fe20579d"></script>
<!-- end minjs template tags -->
<?php endif; ?>

View File

@@ -207,6 +207,7 @@
showColumns: true,
clickToSelect: true,
showExport: true,
exportDataType: 'all',
exportOptions: {
fileName: options.resource.replace(/.*\/(.*?)$/g, '$1')
},
@@ -356,4 +357,4 @@ function number_sorter(a, b)
if (a > b) return 1;
if (a < b) return -1;
return 0;
}
}