2023-05-15 08:43:06 +00:00
|
|
|
<vn-card class="summary">
|
|
|
|
<h5>
|
2023-05-15 11:15:33 +00:00
|
|
|
<a ng-if="::$ctrl.department.id"
|
|
|
|
vn-tooltip="Go to the department"
|
2023-05-16 09:41:42 +00:00
|
|
|
ui-sref="worker.department.card.summary({id: {{::$ctrl.department.id}}})"
|
2023-05-15 08:43:06 +00:00
|
|
|
name="goToSummary">
|
|
|
|
<vn-icon-button icon="launch"></vn-icon-button>
|
|
|
|
</a>
|
2023-05-15 11:15:33 +00:00
|
|
|
<span>{{department.name}}</span>
|
2023-05-15 08:43:06 +00:00
|
|
|
</h5>
|
|
|
|
<vn-horizontal class="vn-pa-md">
|
|
|
|
<vn-one>
|
|
|
|
<h4 ng-show="$ctrl.isHr">
|
|
|
|
<a
|
2023-05-15 11:15:33 +00:00
|
|
|
ui-sref="department.card.basicData({id:$ctrl.department.id})">
|
2023-05-15 08:43:06 +00:00
|
|
|
<span translate vn-tooltip="Go to">Basic data</span>
|
|
|
|
</a>
|
|
|
|
</h4>
|
|
|
|
<h4
|
|
|
|
translates
|
|
|
|
ng-show="!$ctrl.isHr">
|
|
|
|
Basic data
|
|
|
|
</h4>
|
2023-05-16 09:41:42 +00:00
|
|
|
<vn-label-value label="Nombre"
|
2023-05-15 11:15:33 +00:00
|
|
|
value="{{department.name}}">
|
2023-05-15 08:43:06 +00:00
|
|
|
</vn-label-value>
|
2023-05-16 09:41:42 +00:00
|
|
|
<vn-label-value label="Code" no-ellipsize
|
2023-05-15 11:15:33 +00:00
|
|
|
value="{{department.code}}">
|
2023-05-15 08:43:06 +00:00
|
|
|
</vn-label-value>
|
2023-05-16 09:41:42 +00:00
|
|
|
<vn-label-value label="Chat"
|
2023-05-15 11:15:33 +00:00
|
|
|
value="{{department.chat}}">
|
2023-05-15 08:43:06 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value
|
2023-05-16 09:41:42 +00:00
|
|
|
label="Boss department">
|
2023-05-15 08:43:06 +00:00
|
|
|
<span
|
|
|
|
ng-click="workerDescriptor.show($event, worker.boss.id)"
|
|
|
|
class="link">
|
|
|
|
{{::worker.boss.nickname}}
|
|
|
|
</span>
|
|
|
|
</vn-label-value>
|
2023-05-15 11:15:33 +00:00
|
|
|
<vn-label-value label="Email:"
|
|
|
|
value="{{department.notificationEmail}}">
|
2023-05-15 08:43:06 +00:00
|
|
|
</vn-label-value>
|
2023-05-16 09:41:42 +00:00
|
|
|
<vn-label-value label="Self-consumption customer"
|
2023-05-15 11:15:33 +00:00
|
|
|
value="{{department.workerFk}}">
|
2023-05-15 08:43:06 +00:00
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
2023-05-26 11:15:47 +00:00
|
|
|
<vn-vertical>
|
2023-05-16 09:41:42 +00:00
|
|
|
<vn-check
|
|
|
|
label="Telecommutes"
|
|
|
|
ng-model="$ctrl.department.isTeleworking">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Notificate errors"
|
|
|
|
ng-model="$ctrl.department.hasToMistake">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Is on production"
|
|
|
|
ng-model="$ctrl.department.isProduction">
|
2023-05-26 11:15:47 +00:00
|
|
|
</vn-check>
|
2023-05-16 09:41:42 +00:00
|
|
|
<vn-check
|
|
|
|
label="Fill in days without physical check-ins"
|
|
|
|
ng-model="$ctrl.department.hasToRefill">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Send check-ins by email"
|
|
|
|
ng-model="$ctrl.department.hasToSendMail">
|
|
|
|
</vn-check>
|
2023-05-26 11:15:47 +00:00
|
|
|
</vn-vertical>
|
2023-05-15 08:43:06 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
</vn-card>
|
2023-05-15 11:15:33 +00:00
|
|
|
<vn-worker-department-descriptor-popover
|
|
|
|
vn-id="workerDepartmentDescriptor">
|
|
|
|
</vn-worker-department-descriptor-popover>
|