46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
<vn-descriptor-content
|
|
module="worker"
|
|
description="$ctrl.department.name"
|
|
base-state="worker.department">
|
|
<slot-menu>
|
|
<vn-item
|
|
ng-click="$ctrl.handleExcluded()"
|
|
translate
|
|
ng-if="!$ctrl.excluded">
|
|
Delete
|
|
</vn-item>
|
|
</slot-menu>
|
|
<slot-body>
|
|
<h2>{{worker.department.name}}</h2>
|
|
<p>{{worker.department.id}}</p>
|
|
<div class="attributes">
|
|
<vn-label-value
|
|
label="Chat"
|
|
value="{{$ctrl.worker.department.chatName}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Email"
|
|
value="{{$ctrl.worker.department.emailNotification}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Self-consumption customer"
|
|
value="{{$ctrl.worker.department.clientFK}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Boss department"
|
|
value="{{$ctrl.worker.department.workerFk}}">
|
|
</vn-label-value>
|
|
</div>
|
|
</div>
|
|
</slot-body>
|
|
</vn-descriptor-content>
|
|
<vn-popup vn-id="summary">
|
|
<vn-worker-summary worker="$ctrl.worker"></vn-worker-summary>
|
|
</vn-popup>
|
|
|
|
<!-- Upload photo dialog -->
|
|
<!-- <vn-upload-photo
|
|
vn-id="uploadPhoto"
|
|
on-response="$ctrl.onUploadResponse()">
|
|
</vn-upload-photo>
|