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

46 lines
1.4 KiB
HTML
Raw Normal View History

2023-05-16 10:12:25 +00:00
<vn-descriptor-content
2023-05-26 10:58:03 +00:00
module="worker"
2023-05-16 10:12:25 +00:00
description="$ctrl.department.name"
2023-05-26 10:58:03 +00:00
base-state="worker.department">
2023-05-15 11:15:33 +00:00
<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-26 10:58:03 +00:00
label="Chat"
2023-05-16 11:10:26 +00:00
value="{{$ctrl.worker.department.chatName}}">
2023-05-15 11:15:33 +00:00
</vn-label-value>
<vn-label-value
2023-05-26 10:58:03 +00:00
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-26 10:58:03 +00:00
label="Self-consumption customer"
2023-05-16 11:10:26 +00:00
value="{{$ctrl.worker.department.clientFK}}">
2023-05-15 11:15:33 +00:00
</vn-label-value>
<vn-label-value
2023-05-26 10:58:03 +00:00
label="Boss department"
2023-05-16 11:10:26 +00:00
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 -->
2023-05-26 10:58:03 +00:00
<!-- <vn-upload-photo
vn-id="uploadPhoto"
2023-05-15 11:15:33 +00:00
on-response="$ctrl.onUploadResponse()">
2023-05-26 10:58:03 +00:00
</vn-upload-photo>