|
|
@@ -10,6 +10,8 @@
|
|
|
|
|
|
</header>
|
|
|
|
|
|
+ <a class="btn--ui lightGrey" href="/course_member_two?type={{$type}}"><i class="fa-solid fa-arrow-left"></i></a><br>
|
|
|
+
|
|
|
<div class="showFilter" style="display:none" wire:ignore.self>
|
|
|
<hr size="1">
|
|
|
<div class="row g-3">
|
|
|
@@ -272,12 +274,9 @@
|
|
|
<th scope="col">#</th>
|
|
|
<th scope="col">Corso</th>
|
|
|
<th scope="col">Cognome</th>
|
|
|
- <th scope="col">Nome</th>
|
|
|
- <th scope="col">Età</th>
|
|
|
- <th scope="col">Anno di nascita</th>
|
|
|
- <th scope="col">Sesso</th>
|
|
|
- <th scope="col">Telefono</th>
|
|
|
+ <th scope="col">Nome</th>
|
|
|
<th scope="col">Certificato</th>
|
|
|
+ <th scope="col">Stato</th>
|
|
|
<th scope="col">...</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
@@ -664,10 +663,10 @@
|
|
|
return ret;
|
|
|
}
|
|
|
},
|
|
|
- { data: 'column_3' },
|
|
|
+ /*{ data: 'column_3' },
|
|
|
{ data: 'column_4' },
|
|
|
{ data: 'column_9' },
|
|
|
- { data: 'column_5' },
|
|
|
+ { data: 'column_5' },*/
|
|
|
{
|
|
|
data: 'column_6',
|
|
|
render: function (data, type, row) {
|
|
|
@@ -695,11 +694,19 @@
|
|
|
return html;
|
|
|
}
|
|
|
},
|
|
|
- { data: 'column_10',
|
|
|
+ {
|
|
|
+ data: 'column_11',
|
|
|
render: function (data, type, row) {
|
|
|
+ var html = '<span class="badge tessera-badge ' + (data == 0 ? 'due' : (data == 1 ? 'active' : 'suspended')) + '">' + (data == 0 ? 'Da pagare' : (data == 1 ? 'Pagato' : 'Sospeso')) + '</span>';
|
|
|
+ return html;
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
|
|
|
- console.log(row);
|
|
|
- var html = '<a href="/rates?member_id=' + row["column_7"] + '&member_course_id=' + data + '">Dettaglio</a>';
|
|
|
+ { data: 'column_10',
|
|
|
+ render: function (data, type, row) {
|
|
|
+ var html = '<a href="/rates?member_id=' + row["column_7"] + '&member_course_id=' + data + '"><b> > </b></a>';
|
|
|
return html;
|
|
|
}
|
|
|
}],
|