2022-05-24 10:50:22 +00:00
|
|
|
<vn-descriptor-content
|
|
|
|
module="shelving"
|
2022-07-14 07:54:28 +00:00
|
|
|
description="$ctrl.shelving.code"
|
2022-05-24 10:50:22 +00:00
|
|
|
summary="$ctrl.$.summary">
|
|
|
|
<slot-menu>
|
|
|
|
<vn-item
|
|
|
|
ng-click="deleteShelving.show()"
|
|
|
|
name="deleteShelving"
|
|
|
|
translate>
|
|
|
|
Delete
|
|
|
|
</vn-item>
|
|
|
|
</slot-menu>
|
|
|
|
<slot-body>
|
|
|
|
<div class="attributes">
|
|
|
|
<vn-label-value
|
|
|
|
label="Code"
|
2022-07-14 07:54:28 +00:00
|
|
|
value="{{$ctrl.shelving.code}}">
|
2022-05-24 10:50:22 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value
|
|
|
|
label="Parking"
|
|
|
|
value="{{$ctrl.shelving.parking.code}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value
|
|
|
|
label="Worker">
|
|
|
|
<span
|
|
|
|
ng-click="workerDescriptor.show($event, $ctrl.shelving.userFk)"
|
|
|
|
class="link">
|
|
|
|
{{::$ctrl.shelving.worker.user.nickname}}
|
|
|
|
</span>
|
|
|
|
</vn-label-value>
|
|
|
|
</div>
|
|
|
|
</slot-body>
|
|
|
|
</vn-descriptor-content>
|
|
|
|
<vn-confirm
|
|
|
|
vn-id="delete-shelving"
|
|
|
|
on-accept="$ctrl.onDelete()"
|
|
|
|
question="Are you sure you want to continue?"
|
|
|
|
message="Shelving will be removed">
|
|
|
|
</vn-confirm>
|
|
|
|
<vn-popup vn-id="summary">
|
|
|
|
<vn-shelving-summary shelving="$ctrl.shelving"></vn-shelving-summary>
|
|
|
|
</vn-popup>
|
|
|
|
<vn-worker-descriptor-popover
|
|
|
|
vn-id="workerDescriptor">
|
|
|
|
</vn-worker-descriptor-popover>
|