41 lines
1.6 KiB
HTML
41 lines
1.6 KiB
HTML
<vn-crud-model
|
|
vn-id="model"
|
|
url="ClientSms"
|
|
link="{clientFk: $ctrl.$params.id}"
|
|
filter="::$ctrl.filter"
|
|
data="clientSmsList"
|
|
limit="20"
|
|
auto-load="true">
|
|
</vn-crud-model>
|
|
<vn-data-viewer model="model">
|
|
<vn-card class="vn-w-lg">
|
|
<vn-table model="model" auto-load="false">
|
|
<vn-thead>
|
|
<vn-tr>
|
|
<vn-th field="senderFk">Sender</vn-th>
|
|
<vn-th field="destination" number>Destination</vn-th>
|
|
<vn-th field="message">Message</vn-th>
|
|
<vn-th field="status">Status</vn-th>
|
|
<vn-th field="created" expand>Created</vn-th>
|
|
</vn-tr>
|
|
</vn-thead>
|
|
<vn-tbody>
|
|
<vn-tr ng-repeat="clientSms in clientSmsList">
|
|
<vn-td>
|
|
<span class="link" ng-click="workerDescriptor.show($event, clientSms.sms.senderFk)">
|
|
{{::clientSms.sms.sender.name}}
|
|
</span>
|
|
</vn-td>
|
|
<vn-td number expand>{{::clientSms.sms.destination}}</vn-td>
|
|
<vn-td expand vn-tooltip="{{::clientSms.sms.message}}">{{::clientSms.sms.message}}</vn-td>
|
|
<vn-td>{{::clientSms.sms.status}}</vn-td>
|
|
<vn-td shrink-datetime>{{::clientSms.sms.created | date:'dd/MM/yyyy HH:mm'}}</vn-td>
|
|
</vn-tr>
|
|
</vn-tbody>
|
|
</vn-table>
|
|
</vn-card>
|
|
</vn-data-viewer>
|
|
<vn-worker-descriptor-popover
|
|
vn-id="worker-descriptor">
|
|
</vn-worker-descriptor-popover>
|