refs #5334 front fix
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-05-29 15:27:50 +02:00
parent f4e877dada
commit 2d6f0bb2ce
2 changed files with 15 additions and 21 deletions

View File

@ -9,7 +9,8 @@
"properties": {
"id": {
"id": true,
"type": "number"
"type": "number",
"description": "Identifier"
},
"code": {
"type": "string"

View File

@ -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">
</vn-check>
<vn-check
label="Notificate errors"
ng-model="$ctrl.department.hasToMistake">
ng-model="$ctrl.summary.hasToMistake">
</vn-check>
<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>