refs #5635 smart-table #1542

Merged
carlossa merged 9 commits from 5635-contadotTicketExpedition into dev 2023-06-12 10:09:45 +00:00
1 changed files with 22 additions and 40 deletions
Showing only changes of commit 9b363bc7a4 - Show all commits

View File

@ -54,55 +54,37 @@
</tr> </tr>
</thead> </thead>
</slot-table> </slot-table>
<vn-thead> <tbody>
<vn-tr> <tr ng-repeat="expedition in expeditions">
<vn-th shrink> <td shrink>
<vn-multi-check <check tabindex="-1"
model="model">
</vn-multi-check>
</vn-th>
<vn-th field="itemFk" number>Expedition</vn-th>
<vn-th field="itemFk" number>Item</vn-th>
<vn-th field="packageItemName">Name</vn-th>
<vn-th field="freightItemName">Package type</vn-th>
<vn-th field="counter" number>Counter</vn-th>
<vn-th field="externalId" number>externalId</vn-th>
<vn-th field="created" expand>Created</vn-th>
<vn-th field="state" expand>State</vn-th>
<vn-th></vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
<vn-tr ng-repeat="expedition in expeditions">
<vn-td shrink>
<vn-check tabindex="-1"
ng-model="expedition.checked"> ng-model="expedition.checked">
</vn-check> </check>
</vn-td> </td>
<vn-td number expand>{{expedition.id}}</vn-td> <td number expand>{{expedition.id}}</td>
<vn-td number> <td number>
<span <span
ng-class="{link: expedition.packagingItemFk}" ng-class="{link: expedition.packagingItemFk}"
ng-click="itemDescriptor.show($event, expedition.packagingItemFk)"> ng-click="itemDescriptor.show($event, expedition.packagingItemFk)">
{{expedition.packagingFk}} {{expedition.packagingFk}}
</span> </span>
</vn-td> </td>
<vn-td>{{::expedition.packageItemName}}</vn-td> <td>{{::expedition.packageItemName}}</td>
<vn-td>{{::expedition.freightItemName}}</vn-td> <td>{{::expedition.freightItemName}}</td>
<vn-td number>{{::expedition.counter}}</vn-td> <td number>{{::expedition.counter}}</td>
<vn-td expand>{{::expedition.externalId}}</vn-td> <td expand>{{::expedition.externalId}}</td>
<vn-td shrink-datetime>{{::expedition.created | date:'dd/MM/yyyy HH:mm'}}</vn-td> <td shrink-datetime>{{::expedition.created | date:'dd/MM/yyyy HH:mm'}}</td>
<vn-td>{{::expedition.state}}</vn-td> <td>{{::expedition.state}}</td>
<vn-td> <td>
<vn-icon-button <icon-button
vn-click-stop="$ctrl.showLog(expedition)" vn-click-stop="$ctrl.showLog(expedition)"
vn-tooltip="Status log" vn-tooltip="Status log"
icon="history"> icon="history">
</vn-icon-button> </icon-button>
</vn-td> </td>
</vn-tr> </tr>
</vn-tbody> </tbody>
</vn-table> </table>
</vn-card> </vn-card>
</vn-data-viewer> </vn-data-viewer>
<vn-item-descriptor-popover <vn-item-descriptor-popover