#909 claim.index

This commit is contained in:
Gerard 2018-12-12 09:20:31 +01:00
parent 3b9df59df2
commit a5132e33e5
2 changed files with 10 additions and 6 deletions

View File

@ -31,7 +31,10 @@
</vn-tr>
</vn-thead>
<vn-tbody>
<vn-tr ng-repeat="claim in claims" ui-sref="claim.card.summary({id: claim.id})" class=clickable>
<a
ng-repeat="claim in claims"
class="{{::$ctrl.compareDate(ticket.shipped)}} clickable vn-tr"
ui-sref="claim.card.summary({id: claim.id})">
<vn-td number>{{::claim.id}}</vn-td>
<vn-td>
<span class="link" ng-click="$ctrl.showDescriptor($event, claim.client.id)">
@ -48,7 +51,7 @@
icon="desktop_windows">
</vn-icon-button>
</vn-td>
</vn-tr>
</a>
</vn-tbody>
<vn-empty-rows ng-if="model.data.length === 0" translate>
No results

View File

@ -39,11 +39,12 @@
</vn-autocomplete>
<vn-autocomplete
vn-one
label="Worker"
field="filter.workerFk"
url="/claim/api/Workers"
show-field="firstName"
value-field="id">
url="/client/api/Clients/activeWorkersWithRole"
search-function="{firstName: $search}"
value-field="id"
where="{role: 'employee'}"
label="Worker">
<tpl-item>{{firstName}} {{name}}</tpl-item>
</vn-autocomplete>
</vn-horizontal>