5334-editDepartment #1521
|
@ -9,7 +9,8 @@
|
|||
"properties": {
|
||||
"id": {
|
||||
"id": true,
|
||||
"type": "number"
|
||||
"type": "number",
|
||||
"description": "Identifier"
|
||||
},
|
||||
"code": {
|
||||
"type": "string"
|
||||
|
|
|
@ -1,18 +1,11 @@
|
|||
<vn-card class="summary">
|
||||
<h5>
|
||||
<a ng-if="::$ctrl.department.id"
|
||||
vn-tooltip="Go to the department"
|
||||
ui-sref="worker.department.card.summary({id: {{::$ctrl.worker.department.id}}})"
|
||||
name="goToSummary">
|
||||
<vn-icon-button icon="work"></vn-icon-button>
|
||||
</a>
|
||||
<span>{{department.name}}</span>
|
||||
<span>{{summary.name}}</span>
|
||||
</h5>
|
||||
<vn-horizontal class="vn-pa-md">
|
||||
<vn-one>
|
||||
<h4 ng-show="$ctrl.isHr">
|
||||
<a
|
||||
ui-sref="department.card.basicData({id:$ctrl.worker.department.id})">
|
||||
ui-sref="department.card.basicData({id:$ctrl.summary.id})">
|
||||
<span translate vn-tooltip="Go to">Basic data</span>
|
||||
</a>
|
||||
</h4>
|
||||
|
@ -22,45 +15,45 @@
|
|||
Basic data
|
||||
</h4>
|
||||
<vn-label-value label="Nombre"
|
||||
value="{{worker.department.department.name}}">
|
||||
value="{{summary.name}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Code"
|
||||
value="{{worker.department.department.code}}">
|
||||
value="{{summary.code}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Chat"
|
||||
value="{{worker.department.department.chat}}">
|
||||
value="{{summary.chat}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value
|
||||
label="Boss department"
|
||||
value="{{$ctrl.worker.department.department.workerFk}}">
|
||||
value="{{$summary.workerFk}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Email"
|
||||
value="{{worker.department.department.notificationEmail}}">
|
||||
value="{{summary.notificationEmail}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Self-consumption customer"
|
||||
value="{{worker.department.department.workerFk}}">
|
||||
value="{{summary.workerFk}}">
|
||||
</vn-label-value>
|
||||
</vn-one>
|
||||
<vn-vertical>
|
||||
<vn-check
|
||||
label="Telecommutes"
|
||||
ng-model="$ctrl.department.isTeleworking">
|
||||
ng-model="$ctrl.summary.isTeleworking">
|
||||
carlossa marked this conversation as resolved
Outdated
|
||||
</vn-check>
|
||||
<vn-check
|
||||
label="Notificate errors"
|
||||
ng-model="$ctrl.department.hasToMistake">
|
||||
ng-model="$ctrl.summary.hasToMistake">
|
||||
</vn-check>
|
||||
carlossa marked this conversation as resolved
Outdated
jgallego
commented
Notify on errors Notify on errors
|
||||
<vn-check
|
||||
label="Is on production"
|
||||
ng-model="$ctrl.department.isProduction">
|
||||
ng-model="$ctrl.summary.isProduction">
|
||||
</vn-check>
|
||||
<vn-check
|
||||
label="Fill in days without physical check-ins"
|
||||
ng-model="$ctrl.department.hasToRefill">
|
||||
ng-model="$ctrl.summary.hasToRefill">
|
||||
</vn-check>
|
||||
<vn-check
|
||||
label="Send check-ins by email"
|
||||
ng-model="$ctrl.department.hasToSendMail">
|
||||
ng-model="$ctrl.summary.hasToSendMail">
|
||||
</vn-check>
|
||||
</vn-vertical>
|
||||
</vn-horizontal>
|
||||
|
|
Loading…
Reference in New Issue
teleworking