1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-18 12:30:35 +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: { exportOptions: {
modifier: { modifier: {
selected: true 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;
}
} }
} }
}, },