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

71 lines
2.6 KiB
HTML
Raw Normal View History

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-26 12:08:37 +00:00
ui-sref="worker.department.card.summary({id: {{::$ctrl.worker.department.id}}})"
2023-05-15 08:43:06 +00:00
name="goToSummary">
2023-05-26 12:08:37 +00:00
<vn-icon-button icon="work"></vn-icon-button>
2023-05-15 08:43:06 +00:00
</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-26 12:08:37 +00:00
ui-sref="department.card.basicData({id:$ctrl.worker.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-26 12:35:12 +00:00
value="{{worker.department.department.name}}">
2023-05-15 08:43:06 +00:00
</vn-label-value>
2023-05-26 12:08:37 +00:00
<vn-label-value label="Code"
2023-05-26 12:35:12 +00:00
value="{{worker.department.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-26 12:35:12 +00:00
value="{{worker.department.department.chat}}">
2023-05-15 08:43:06 +00:00
</vn-label-value>
<vn-label-value
2023-05-26 12:08:37 +00:00
label="Boss department"
2023-05-26 12:35:12 +00:00
value="{{$ctrl.worker.department.department.workerFk}}">
2023-05-15 08:43:06 +00:00
</vn-label-value>
2023-05-26 12:08:37 +00:00
<vn-label-value label="Email"
2023-05-26 12:35:12 +00:00
value="{{worker.department.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-26 12:35:12 +00:00
value="{{worker.department.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>