Changes to phone, add Active/Archive to echomail list for nets
This commit is contained in:
@@ -32,13 +32,14 @@
|
||||
<table class="table monotable w-100" id="echoarea">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75" colspan="3"></th>
|
||||
<th class="w-75" colspan="4"></th>
|
||||
<th colspan="3" class="text-center">Messages</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Echoarea</th>
|
||||
<th>Description</th>
|
||||
<th>Last Message</th>
|
||||
<th>Area Active</th>
|
||||
<th class="text-end">Day</th>
|
||||
<th class="text-end">Week</th>
|
||||
<th class="text-end">Month</th>
|
||||
@@ -51,6 +52,7 @@
|
||||
<td style="width: 15%;"><a href="{{ url('ftn/echoarea/addedit',[$oo->id]) }}">{{ $oo->name }}</a></td>
|
||||
<td>{{ $oo->description }}</td>
|
||||
<td style="width: 15%;">{{ $oo->last_message ? $oo->last_message->format('Y-m-d H:i') : '-' }}</td>
|
||||
<td>{{ $oo->active ? 'Active' : 'Archive' }}</td>
|
||||
<td class="text-end">{{ number_format($oo->messages_count(1)) }}</td>
|
||||
<td class="text-end">{{ number_format($oo->messages_count(7)) }}</td>
|
||||
<td class="text-end">{{ number_format($oo->messages_count(30)) }}</td>
|
||||
@@ -191,11 +193,20 @@
|
||||
pageLength: 25,
|
||||
searching: true,
|
||||
ordering: true,
|
||||
order: [1,'asc'],
|
||||
order: [[3,'asc'],[1,'asc']],
|
||||
conditionalPaging: {
|
||||
style: 'fade',
|
||||
speed: 500 // optional
|
||||
}
|
||||
},
|
||||
rowGroup: {
|
||||
dataSrc: [3],
|
||||
},
|
||||
columnDefs: [
|
||||
{
|
||||
targets: [3],
|
||||
visible: false,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
$('#filearea').DataTable({
|
||||
|
Reference in New Issue
Block a user