|
|
@@ -132,6 +132,7 @@
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th scope="col"></th>
|
|
|
+ <th scope="col">Corso</th>
|
|
|
<th scope="col">Cognome</th>
|
|
|
<th scope="col">Nome</th>
|
|
|
<th scope="col">Iscrizione</th>
|
|
|
@@ -300,8 +301,8 @@
|
|
|
loadDataTable();
|
|
|
} );
|
|
|
|
|
|
- $('.filterYear').select2();
|
|
|
- $('.filterCourse').select2();
|
|
|
+ $('.filterYear').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
+ $('.filterCourse').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
/*$('.filterCourse').on('change', function (e) {
|
|
|
var data = $('.filterCourse').select2("val");
|
|
|
if (data == null) data = [];
|
|
|
@@ -309,7 +310,7 @@
|
|
|
//@this.search();
|
|
|
});*/
|
|
|
|
|
|
- $('.filterLevel').select2();
|
|
|
+ $('.filterLevel').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
/*$('.filterLevel').on('change', function (e) {
|
|
|
var data = $('.filterLevel').select2("val");
|
|
|
if (data == null) data = [];
|
|
|
@@ -317,7 +318,7 @@
|
|
|
//@this.search();
|
|
|
});*/
|
|
|
|
|
|
- $('.filterFrequency').select2();
|
|
|
+ $('.filterFrequency').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
/*$('.filterFrequency').on('change', function (e) {
|
|
|
var data = $('.filterFrequency').select2("val");
|
|
|
if (data == null) data = [];
|
|
|
@@ -325,7 +326,7 @@
|
|
|
//@this.search();
|
|
|
});*/
|
|
|
|
|
|
- $('.filterType').select2();
|
|
|
+ $('.filterType').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
/*$('.filterType').on('change', function (e) {
|
|
|
var data = $('.filterType').select2("val");
|
|
|
if (data == null) data = [];
|
|
|
@@ -333,7 +334,7 @@
|
|
|
//@this.search();
|
|
|
});*/
|
|
|
|
|
|
- $('.filterDuration').select2();
|
|
|
+ $('.filterDuration').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
/*$('.filterDuration').on('change', function (e) {
|
|
|
var data = $('.filterDuration').select2("val");
|
|
|
if (data == null) data = [];
|
|
|
@@ -342,12 +343,12 @@
|
|
|
});*/
|
|
|
|
|
|
Livewire.on('load-data-table', () => {
|
|
|
- $('.filterYear').select2();
|
|
|
- $('.filterCourse').select2();
|
|
|
- $('.filterLevel').select2();
|
|
|
- $('.filterFrequency').select2();
|
|
|
- $('.filterType').select2();
|
|
|
- $('.filterDuration').select2();
|
|
|
+ $('.filterYear').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
+ $('.filterCourse').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
+ $('.filterLevel').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
+ $('.filterFrequency').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
+ $('.filterType').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
+ $('.filterDuration').select2({"language": {"noResults": function(){return "Nessun risultato";}}});
|
|
|
loadDataTable();
|
|
|
});
|
|
|
|
|
|
@@ -478,6 +479,9 @@
|
|
|
return data;
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ data: 'column_19'
|
|
|
+ },
|
|
|
{
|
|
|
data: 'column_0',
|
|
|
render: function (data, type, row){
|
|
|
@@ -724,18 +728,20 @@
|
|
|
text: 'Esporta',
|
|
|
buttons: [
|
|
|
{
|
|
|
- extend: 'excelHtml5',"action":newexportaction,
|
|
|
+ extend: 'excelHtml5',"action":newexportaction,
|
|
|
title: 'Pagamento corsi',
|
|
|
exportOptions: {
|
|
|
columns: ":not(':last')"
|
|
|
- }
|
|
|
+ },
|
|
|
+ footer: false
|
|
|
},
|
|
|
{
|
|
|
extend: 'pdfHtml5',"action":newexportaction,
|
|
|
title: 'Pagamento corsi',
|
|
|
exportOptions: {
|
|
|
columns: ":not(':last')"
|
|
|
- }
|
|
|
+ },
|
|
|
+ footer: false
|
|
|
},
|
|
|
{
|
|
|
extend: 'print',"action":newexportaction,
|
|
|
@@ -743,7 +749,8 @@
|
|
|
title: 'Pagamento corsi',
|
|
|
exportOptions: {
|
|
|
columns: ":not(':last')"
|
|
|
- }
|
|
|
+ },
|
|
|
+ footer: false
|
|
|
}
|
|
|
],
|
|
|
dropup: true
|
|
|
@@ -757,7 +764,7 @@
|
|
|
},
|
|
|
top1C :'search',
|
|
|
},
|
|
|
- order: [[1, 'asc'], [2, 'asc']],
|
|
|
+ order: [[2, 'asc'], [3, 'asc']],
|
|
|
pagingType: 'numbers',
|
|
|
"language": {
|
|
|
"url": "/assets/js/Italian.json"
|
|
|
@@ -770,10 +777,11 @@
|
|
|
let api = this.api();
|
|
|
|
|
|
api.column(0).footer().innerHTML = '';
|
|
|
- api.column(3).footer().innerHTML = '';
|
|
|
+ api.column(1).footer().innerHTML = '';
|
|
|
api.column(2).footer().innerHTML = '';
|
|
|
+ api.column(3).footer().innerHTML = '';
|
|
|
|
|
|
- for(var i=3; i<=14; i++)
|
|
|
+ for(var i=4; i<=14; i++)
|
|
|
{
|
|
|
api.column(i).footer().innerHTML = '';
|
|
|
}
|