2018-06-07 21:47:19 +00:00
|
|
|
<vn-crud-model
|
|
|
|
vn-id="model"
|
|
|
|
url="/item/api/Clients"
|
2018-07-26 05:46:25 +00:00
|
|
|
order="id DESC"
|
2018-06-08 11:26:06 +00:00
|
|
|
limit="8"
|
2018-06-07 21:47:19 +00:00
|
|
|
data="clients"
|
|
|
|
auto-load="false">
|
|
|
|
</vn-crud-model>
|
2018-07-26 05:46:25 +00:00
|
|
|
|
2017-01-31 13:13:06 +00:00
|
|
|
<div margin-medium>
|
2018-03-01 20:18:43 +00:00
|
|
|
<div class="vn-list">
|
2018-06-07 21:47:19 +00:00
|
|
|
<vn-card pad-medium-h>
|
|
|
|
<vn-searchbar
|
|
|
|
panel="vn-client-search-panel"
|
|
|
|
model="model"
|
2018-09-17 12:54:38 +00:00
|
|
|
expr-builder="$ctrl.exprBuilder(param, value)"
|
|
|
|
vn-focus>
|
|
|
|
</vn-searchbar>
|
2017-01-31 13:13:06 +00:00
|
|
|
</vn-card>
|
2018-06-07 21:47:19 +00:00
|
|
|
<vn-card margin-medium-v>
|
2018-02-12 12:16:49 +00:00
|
|
|
<vn-item-client
|
2018-06-07 21:47:19 +00:00
|
|
|
ng-repeat="client in clients track by client.id"
|
|
|
|
client="::client">
|
2018-02-12 12:16:49 +00:00
|
|
|
</vn-item-client>
|
2018-11-21 13:30:32 +00:00
|
|
|
<vn-empty-rows class="vn-list-item" style="text-align: center"
|
2018-12-11 10:59:44 +00:00
|
|
|
ng-if="model.data.length === 0" translate>
|
|
|
|
No results
|
|
|
|
</vn-empty-rows>
|
|
|
|
<vn-empty-rows class="vn-list-item" style="text-align: center"
|
|
|
|
ng-if="model.data === null" translate>
|
2018-11-21 13:30:32 +00:00
|
|
|
Enter a new search
|
|
|
|
</vn-empty-rows>
|
2017-01-31 13:13:06 +00:00
|
|
|
</vn-card>
|
2018-06-07 21:47:19 +00:00
|
|
|
<vn-pagination
|
|
|
|
model="model"
|
|
|
|
scroll-selector="ui-view">
|
|
|
|
</vn-pagination>
|
2017-01-31 13:13:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-25 13:14:03 +00:00
|
|
|
<a ui-sref="client.create" vn-tooltip="New client" vn-bind="+" fixed-bottom-right>
|
2018-03-01 20:18:43 +00:00
|
|
|
<vn-float-button icon="person_add"></vn-float-button>
|
|
|
|
</a>
|
|
|
|
<vn-dialog class="dialog-summary"
|
|
|
|
vn-id="dialog-summary-client">
|
|
|
|
<tpl-body>
|
|
|
|
<vn-client-summary client="$ctrl.clientSelected"></vn-client-summary>
|
|
|
|
</tpl-body>
|
2018-06-07 21:47:19 +00:00
|
|
|
</vn-dialog>
|