Merge branch 'spidev' into 'master'
Zeiterfassung Feature See merge request fronk/thetool!587
This commit is contained in:
@@ -175,7 +175,13 @@ table = $('#datatable').DataTable({
|
||||
exportOptions: {
|
||||
columns: ['th:not(:last-child)'],
|
||||
format: {
|
||||
header: function (data, row, column, node) {
|
||||
console.log(data);
|
||||
data = data.replace(/<.*>/g, '');
|
||||
return data;
|
||||
},
|
||||
body: function (data, row, column, node) {
|
||||
data = data.replace(/<span class='d-none'>.*<\/span>/g, '');
|
||||
data = $('<p>' + data + '</p>').text();
|
||||
return $.isNumeric(data.replace(',', '.')) ? data.replace(',', '.') : data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user