2023-06-30 07:40:12 +00:00
|
|
|
<vn-portal slot="topbar">
|
|
|
|
<vn-searchbar
|
|
|
|
vn-focus
|
|
|
|
info="Search departments by id, name or code"
|
|
|
|
on-search="$ctrl.onSearch($params)"
|
|
|
|
base-state="worker.department">
|
|
|
|
</vn-searchbar>
|
|
|
|
</vn-portal>
|
2023-05-15 08:43:06 +00:00
|
|
|
<vn-card class="summary">
|
2023-05-30 07:16:02 +00:00
|
|
|
<h5>
|
2023-05-29 13:27:50 +00:00
|
|
|
<span>{{summary.name}}</span>
|
2023-05-15 08:43:06 +00:00
|
|
|
</h5>
|
|
|
|
<vn-horizontal class="vn-pa-md">
|
2023-07-04 07:57:16 +00:00
|
|
|
<vn-one class="expand">
|
2023-05-15 08:43:06 +00:00
|
|
|
<h4 ng-show="$ctrl.isHr">
|
|
|
|
<a
|
2023-07-04 07:57:16 +00:00
|
|
|
ui-sref="worker.department.card.basicData({id:summary.id})">
|
|
|
|
<span translate vn-tooltip="Go to">Basic data</span>
|
|
|
|
</a>
|
2023-05-15 08:43:06 +00:00
|
|
|
</h4>
|
|
|
|
<h4
|
|
|
|
translates
|
|
|
|
ng-show="!$ctrl.isHr">
|
|
|
|
Basic data
|
|
|
|
</h4>
|
2023-07-04 07:57:16 +00:00
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
|
|
|
<vn-vertical>
|
|
|
|
<vn-label-value label="Nombre"
|
|
|
|
value="{{summary.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Code"
|
|
|
|
value="{{summary.code}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Chat"
|
|
|
|
value="{{summary.chatName}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value
|
|
|
|
label="Boss department">
|
|
|
|
<span
|
|
|
|
ng-click="workerDescriptor.show($event, summary.worker.id)"
|
|
|
|
class="link">
|
|
|
|
{{summary.worker.user.name}}
|
|
|
|
</span>
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value
|
|
|
|
label="Email"
|
|
|
|
value="{{summary.notificationEmail}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Self-consumption customer"
|
|
|
|
value="{{summary.client.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</vn-vertical>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
|
|
|
<vn-vertical>
|
|
|
|
<vn-check
|
|
|
|
label="Telework"
|
|
|
|
ng-model="summary.isTeleworking"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Notify on errors"
|
|
|
|
ng-model="summary.hasToMistake"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="worksInProduction"
|
|
|
|
ng-model="summary.isProduction"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Fill in days without physical check-ins"
|
|
|
|
ng-model="summary.hasToRefill"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Send check-ins by email"
|
|
|
|
ng-model="summary.hasToSendMail"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
</vn-vertical>
|
2023-05-15 08:43:06 +00:00
|
|
|
</vn-one>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-card>
|
2023-07-03 11:58:40 +00:00
|
|
|
<vn-worker-descriptor-popover
|
|
|
|
vn-id="workerDescriptor">
|
|
|
|
</vn-worker-descriptor-popover>
|
2023-05-15 11:15:33 +00:00
|
|
|
<vn-worker-department-descriptor-popover
|
|
|
|
vn-id="workerDepartmentDescriptor">
|
|
|
|
</vn-worker-department-descriptor-popover>
|