diff -r ee28b3303da2 -r acdd54144838 www/js/inv_suppliers.js
--- a/www/js/inv_suppliers.js Thu Dec 05 13:25:54 2019 +0100
+++ b/www/js/inv_suppliers.js Thu Dec 05 22:47:40 2019 +0100
@@ -153,9 +153,13 @@
var addButton, container = $('
');
addButton = $('Nieuw ');
+ expButton = $('Export ');
container.append(addButton);
+ container.append(expButton);
statusbar.append(container);
addButton.jqxButton({ theme: theme, width: 90, height: 20 });
+ expButton.jqxButton({ theme: theme, width: 90, height: 20 });
// add new row.
addButton.click(function(event) {
editrow = -1;
@@ -171,6 +175,9 @@
$('#notes').val('');
$('#popupWindow').jqxWindow('open');
});
+ expButton.click(function(event) {
+ window.open('export_suppliers.php');
+ });
},
filterable: false,
columns: [