salix/modules/worker/front/department/summary/index.html

75 lines
2.6 KiB
HTML

<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.department.id}}})"
name="goToSummary">
<vn-icon-button icon="launch"></vn-icon-button>
</a>
<span>{{department.name}}</span>
</h5>
<vn-horizontal class="vn-pa-md">
<vn-one>
<h4 ng-show="$ctrl.isHr">
<a
ui-sref="department.card.basicData({id:$ctrl.department.id})">
<span translate vn-tooltip="Go to">Basic data</span>
</a>
</h4>
<h4
translates
ng-show="!$ctrl.isHr">
Basic data
</h4>
<vn-label-value label="Nombre"
value="{{department.name}}">
</vn-label-value>
<vn-label-value label="Code" no-ellipsize
value="{{department.code}}">
</vn-label-value>
<vn-label-value label="Chat"
value="{{department.chat}}">
</vn-label-value>
<vn-label-value
label="Boss department">
<span
ng-click="workerDescriptor.show($event, worker.boss.id)"
class="link">
{{::worker.boss.nickname}}
</span>
</vn-label-value>
<vn-label-value label="Email:"
value="{{department.notificationEmail}}">
</vn-label-value>
<vn-label-value label="Self-consumption customer"
value="{{department.workerFk}}">
</vn-label-value>
</vn-one>
<vn-vertical>
<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">
</vn-check>
<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>
</vn-vertical>
</vn-horizontal>
</vn-card>
<vn-worker-department-descriptor-popover
vn-id="workerDepartmentDescriptor">
</vn-worker-department-descriptor-popover>