feat: order by column enabled

This commit is contained in:
Vicent Llopis 2022-06-14 12:34:32 +02:00
parent 931c4fb259
commit 189e8dbab3
1 changed files with 10 additions and 10 deletions

View File

@ -14,14 +14,14 @@
</vn-multi-check>
</vn-th>
<vn-th field="id" number>Id</vn-th>
<vn-th th-id="worker">Worker</vn-th>
<vn-th th-id="agency">Agency</vn-th>
<vn-th th-id="vehicle">Vehicle</vn-th>
<vn-th th-id="created" shrink-date>Date</vn-th>
<vn-th th-id="m3" number></vn-th>
<vn-th th-id="description">Description</vn-th>
<vn-th th-id="started">Start</vn-th>
<vn-th th-id="finished">Finish</vn-th>
<vn-th field="workerFk">Worker</vn-th>
<vn-th field="agencyName">Agency</vn-th>
<vn-th field="vehiclePlateNumber">Vehicle</vn-th>
<vn-th field="created" shrink-date>Date</vn-th>
<vn-th field="m3" number></vn-th>
<vn-th field="description">Description</vn-th>
<vn-th field="started">Start</vn-th>
<vn-th field="finished">Finish</vn-th>
<vn-th shrink></vn-th>
</vn-tr>
</vn-thead>
@ -49,8 +49,8 @@
<vn-td shrink-date>{{::route.created | dashIfEmpty | date:'dd/MM/yyyy'}}</vn-td>
<vn-td number>{{::route.m3 | dashIfEmpty}}</vn-td>
<vn-td>{{::route.description | dashIfEmpty}}</vn-td>
<vn-td>{{::route.started | dashIfEmpty | date:'dd/MM/yyyy HH:mm'}}</vn-td>
<vn-td>{{::route.finished | dashIfEmpty | date:'dd/MM/yyyy HH:mm'}}</vn-td>
<vn-td expand>{{::route.started | dashIfEmpty | date:'dd/MM/yyyy HH:mm'}}</vn-td>
<vn-td expand>{{::route.finished | dashIfEmpty | date:'dd/MM/yyyy HH:mm'}}</vn-td>
<vn-td>
<vn-icon-button
vn-click-stop="$ctrl.showTicketPopup(route)"