2019-01-28 15:24:45 +00:00
|
|
|
<vn-card class="summary">
|
2020-11-23 12:41:51 +00:00
|
|
|
<h5>
|
|
|
|
<a ng-if="::$ctrl.worker.id"
|
|
|
|
vn-tooltip="Go to the worker"
|
|
|
|
ui-sref="worker.card.summary({id: {{::$ctrl.worker.id}}})"
|
|
|
|
name="goToSummary">
|
|
|
|
<vn-icon-button icon="launch"></vn-icon-button>
|
|
|
|
</a>
|
|
|
|
<span>{{worker.firstName}} {{worker.lastName}}</span>
|
|
|
|
</h5>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-horizontal class="vn-pa-md">
|
2019-01-29 20:45:43 +00:00
|
|
|
<vn-one>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isHr">
|
2021-01-12 09:17:12 +00:00
|
|
|
<a
|
|
|
|
ui-sref="worker.card.basicData({id:$ctrl.worker.id})">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Basic data</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4
|
2021-01-12 09:17:12 +00:00
|
|
|
translates
|
|
|
|
ng-show="!$ctrl.isHr">
|
|
|
|
Basic data
|
2021-01-12 06:39:12 +00:00
|
|
|
</h4>
|
2019-01-29 20:45:43 +00:00
|
|
|
<vn-label-value label="Id"
|
|
|
|
value="{{worker.id}}">
|
|
|
|
</vn-label-value>
|
2020-11-24 13:56:10 +00:00
|
|
|
<vn-label-value label="Email" no-ellipsize
|
2019-03-15 11:58:26 +00:00
|
|
|
value="{{worker.user.emailUser.email}}">
|
2019-01-29 20:45:43 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Department"
|
2019-02-18 11:54:33 +00:00
|
|
|
value="{{worker.department.department.name}}">
|
2019-01-29 20:45:43 +00:00
|
|
|
</vn-label-value>
|
2021-02-19 16:45:45 +00:00
|
|
|
<vn-label-value
|
2021-02-24 15:12:44 +00:00
|
|
|
label="Boss">
|
|
|
|
<span
|
|
|
|
ng-click="workerDescriptor.show($event, worker.boss.id)"
|
|
|
|
class="link">
|
|
|
|
{{::worker.boss.nickname}}
|
|
|
|
</span>
|
2021-02-19 16:45:45 +00:00
|
|
|
</vn-label-value>
|
2022-08-10 10:13:31 +00:00
|
|
|
<vn-label-value label="Mobile extension"
|
|
|
|
value="{{worker.mobileExtension}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Business phone"
|
2020-01-20 10:03:40 +00:00
|
|
|
value="{{worker.phone}}">
|
2019-01-29 20:45:43 +00:00
|
|
|
</vn-label-value>
|
2022-08-10 10:13:31 +00:00
|
|
|
<vn-label-value label="Personal phone"
|
|
|
|
value="{{worker.client.phone}}">
|
|
|
|
</vn-label-value>
|
2019-01-29 20:45:43 +00:00
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
2019-01-30 13:13:47 +00:00
|
|
|
<h4 translate>User data</h4>
|
2019-01-29 20:45:43 +00:00
|
|
|
<vn-label-value label="User id"
|
|
|
|
value="{{worker.userFk}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="User"
|
2019-02-27 12:10:26 +00:00
|
|
|
value="{{worker.user.name}}">
|
2019-01-29 20:45:43 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Role"
|
|
|
|
value="{{worker.user.role.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Extension"
|
2019-02-18 11:54:33 +00:00
|
|
|
value="{{worker.sip.extension}}">
|
2019-01-29 20:45:43 +00:00
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
</vn-horizontal>
|
2021-02-24 15:12:44 +00:00
|
|
|
</vn-card>
|
|
|
|
<vn-worker-descriptor-popover
|
|
|
|
vn-id="workerDescriptor">
|
|
|
|
</vn-worker-descriptor-popover>
|