51 lines
1.8 KiB
HTML
51 lines
1.8 KiB
HTML
|
<vn-card class="summary">
|
||
|
<h5>
|
||
|
<a ng-if="::$ctrl.summary.id"
|
||
|
vn-tooltip="Go to the shelving"
|
||
|
ui-sref="shelving.card.summary({id: {{::$ctrl.summary.id}}})"
|
||
|
name="goToSummary">
|
||
|
<vn-icon-button icon="launch"></vn-icon-button>
|
||
|
</a>
|
||
|
<span>{{::$ctrl.summary.id}}</span>
|
||
|
</h5>
|
||
|
<vn-horizontal>
|
||
|
<vn-one>
|
||
|
<h4>
|
||
|
<a
|
||
|
ui-sref="shelving.card.basicData({id: $ctrl.summary.id})"
|
||
|
target="_self">
|
||
|
<span translate vn-tooltip="Go to">Basic data</span>
|
||
|
</a>
|
||
|
</h4>
|
||
|
<vn-vertical>
|
||
|
<vn-label-value
|
||
|
label="Code"
|
||
|
value="{{::$ctrl.summary.id}}">
|
||
|
</vn-label-value>
|
||
|
<vn-label-value
|
||
|
label="Parking"
|
||
|
value="{{::$ctrl.summary.parking.code}}">
|
||
|
</vn-label-value>
|
||
|
<vn-label-value
|
||
|
label="Priority"
|
||
|
value="{{::$ctrl.summary.priority}}">
|
||
|
</vn-label-value>
|
||
|
<vn-label-value label="Worker">
|
||
|
<span
|
||
|
ng-click="workerDescriptor.show($event, $ctrl.summary.userFk)"
|
||
|
class="link">
|
||
|
{{$ctrl.summary.worker.user.nickname}}
|
||
|
</span>
|
||
|
</vn-label-value>
|
||
|
<vn-check
|
||
|
label="Recyclable"
|
||
|
ng-model="$ctrl.summary.isRecyclable"
|
||
|
disabled="true">
|
||
|
</vn-check>
|
||
|
</vn-vertical>
|
||
|
</vn-one>
|
||
|
</vn-horizontal>
|
||
|
</vn-card>
|
||
|
<vn-worker-descriptor-popover
|
||
|
vn-id="workerDescriptor">
|
||
|
</vn-worker-descriptor-popover>
|