1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 16:23:19 +01:00

Fix per importi su export CSV

This commit is contained in:
loviuz 2020-04-17 13:54:44 +02:00
parent 22e731c280
commit 9cf578b264

View File

@ -90,6 +90,14 @@ function start_datatables() {
exportOptions: {
modifier: {
selected: true
},
format: {
body: function (data, row, column, node) {
data = $('<p>' + data + '</p>').text();
data_edit = data.replace('.', ''); // Rimozione punto delle migliaia
return data_edit.match(/^[0-9,]+$/) ? data_edit : data;
}
}
}
},