This commit is contained in:
parent
f4e877dada
commit
2d6f0bb2ce
|
@ -9,7 +9,8 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"id": true,
|
"id": true,
|
||||||
"type": "number"
|
"type": "number",
|
||||||
|
"description": "Identifier"
|
||||||
},
|
},
|
||||||
"code": {
|
"code": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|
|
@ -1,18 +1,11 @@
|
||||||
<vn-card class="summary">
|
<vn-card class="summary">
|
||||||
<h5>
|
<span>{{summary.name}}</span>
|
||||||
<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>
|
|
||||||
</h5>
|
</h5>
|
||||||
<vn-horizontal class="vn-pa-md">
|
<vn-horizontal class="vn-pa-md">
|
||||||
<vn-one>
|
<vn-one>
|
||||||
<h4 ng-show="$ctrl.isHr">
|
<h4 ng-show="$ctrl.isHr">
|
||||||
<a
|
<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>
|
<span translate vn-tooltip="Go to">Basic data</span>
|
||||||
</a>
|
</a>
|
||||||
</h4>
|
</h4>
|
||||||
|
@ -22,45 +15,45 @@
|
||||||
Basic data
|
Basic data
|
||||||
</h4>
|
</h4>
|
||||||
<vn-label-value label="Nombre"
|
<vn-label-value label="Nombre"
|
||||||
value="{{worker.department.department.name}}">
|
value="{{summary.name}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
<vn-label-value label="Code"
|
<vn-label-value label="Code"
|
||||||
value="{{worker.department.department.code}}">
|
value="{{summary.code}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
<vn-label-value label="Chat"
|
<vn-label-value label="Chat"
|
||||||
value="{{worker.department.department.chat}}">
|
value="{{summary.chat}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
<vn-label-value
|
<vn-label-value
|
||||||
label="Boss department"
|
label="Boss department"
|
||||||
value="{{$ctrl.worker.department.department.workerFk}}">
|
value="{{$summary.workerFk}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
<vn-label-value label="Email"
|
<vn-label-value label="Email"
|
||||||
value="{{worker.department.department.notificationEmail}}">
|
value="{{summary.notificationEmail}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
<vn-label-value label="Self-consumption customer"
|
<vn-label-value label="Self-consumption customer"
|
||||||
value="{{worker.department.department.workerFk}}">
|
value="{{summary.workerFk}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
</vn-one>
|
</vn-one>
|
||||||
<vn-vertical>
|
<vn-vertical>
|
||||||
<vn-check
|
<vn-check
|
||||||
label="Telecommutes"
|
label="Telecommutes"
|
||||||
ng-model="$ctrl.department.isTeleworking">
|
ng-model="$ctrl.summary.isTeleworking">
|
||||||
</vn-check>
|
</vn-check>
|
||||||
<vn-check
|
<vn-check
|
||||||
label="Notificate errors"
|
label="Notificate errors"
|
||||||
ng-model="$ctrl.department.hasToMistake">
|
ng-model="$ctrl.summary.hasToMistake">
|
||||||
</vn-check>
|
</vn-check>
|
||||||
<vn-check
|
<vn-check
|
||||||
label="Is on production"
|
label="Is on production"
|
||||||
ng-model="$ctrl.department.isProduction">
|
ng-model="$ctrl.summary.isProduction">
|
||||||
</vn-check>
|
</vn-check>
|
||||||
<vn-check
|
<vn-check
|
||||||
label="Fill in days without physical check-ins"
|
label="Fill in days without physical check-ins"
|
||||||
ng-model="$ctrl.department.hasToRefill">
|
ng-model="$ctrl.summary.hasToRefill">
|
||||||
</vn-check>
|
</vn-check>
|
||||||
<vn-check
|
<vn-check
|
||||||
label="Send check-ins by email"
|
label="Send check-ins by email"
|
||||||
ng-model="$ctrl.department.hasToSendMail">
|
ng-model="$ctrl.summary.hasToSendMail">
|
||||||
</vn-check>
|
</vn-check>
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
|
|
Loading…
Reference in New Issue