salix/modules/worker/front/department/descriptor/index.html

45 lines
1.4 KiB
HTML
Raw Normal View History

2023-05-16 10:12:25 +00:00
<vn-descriptor-content
module="department"
description="$ctrl.department.name"
2023-05-15 11:15:33 +00:00
summary="$ctrl.$.summary">
<slot-menu>
<vn-item
ng-click="$ctrl.handleExcluded()"
translate
ng-if="!$ctrl.excluded">
2023-05-16 11:10:26 +00:00
Delete
2023-05-15 11:15:33 +00:00
</vn-item>
</slot-menu>
<slot-body>
2023-05-16 11:10:26 +00:00
<h2>{{worker.department.name}}</h2>
<p>{{worker.department.id}}</p>
2023-05-15 11:15:33 +00:00
<div class="attributes">
<vn-label-value
2023-05-16 11:10:26 +00:00
label="Chat"
value="{{$ctrl.worker.department.chatName}}">
2023-05-15 11:15:33 +00:00
</vn-label-value>
<vn-label-value
label="Email"
2023-05-16 11:10:26 +00:00
value="{{$ctrl.worker.department.emailNotification}}">
2023-05-15 11:15:33 +00:00
</vn-label-value>
<vn-label-value
2023-05-16 11:10:26 +00:00
label="Self-consumption customer"
value="{{$ctrl.worker.department.clientFK}}">
2023-05-15 11:15:33 +00:00
</vn-label-value>
<vn-label-value
2023-05-16 11:10:26 +00:00
label="Boss department"
value="{{$ctrl.worker.department.workerFk}}">
2023-05-15 11:15:33 +00:00
</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()">
2023-05-16 10:12:25 +00:00
</vn-upload-photo>