2023-07-18 09:54:43 +00:00
|
|
|
<vn-crud-model
|
|
|
|
vn-id="model"
|
|
|
|
url="ClientSms"
|
|
|
|
link="{clientFk: $ctrl.$params.id}"
|
|
|
|
filter="::$ctrl.filter"
|
2023-07-20 05:17:35 +00:00
|
|
|
data="clientSmsList"
|
2023-07-18 09:54:43 +00:00
|
|
|
limit="20"
|
|
|
|
auto-load="true">
|
|
|
|
</vn-crud-model>
|
|
|
|
<vn-data-viewer model="model">
|
|
|
|
<vn-card class="vn-w-md">
|
|
|
|
<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>
|
2023-07-20 05:17:35 +00:00
|
|
|
<vn-tr ng-repeat="clientSms in clientSmsList">
|
2023-07-18 09:54:43 +00:00
|
|
|
<vn-td>
|
|
|
|
<span class="link" ng-click="workerDescriptor.show($event, clientSms.sms.senderFk)">
|
2023-07-18 11:02:42 +00:00
|
|
|
{{::clientSms.sms.sender.name}}
|
2023-07-18 09:54:43 +00:00
|
|
|
</span>
|
|
|
|
</vn-td>
|
|
|
|
<vn-td number expand>{{::clientSms.sms.destination}}</vn-td>
|
|
|
|
<vn-td>{{::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>
|