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

81 lines
2.9 KiB
HTML
Raw Normal View History

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>
<vn-horizontal class="vn-pa-md">
2019-01-29 20:45:43 +00:00
<vn-one>
<h4 ng-show="$ctrl.isHr">
2023-02-27 07:39:46 +00:00
<a
2021-01-12 09:17:12 +00:00
ui-sref="worker.card.basicData({id:$ctrl.worker.id})">
<span translate vn-tooltip="Go to">Basic data</span>
2021-01-08 14:43:33 +00:00
</a>
</h4>
2023-02-27 07:39:46 +00:00
<h4
2021-01-12 09:17:12 +00:00
translates
ng-show="!$ctrl.isHr">
Basic data
</h4>
2023-02-27 07:39:46 +00:00
<vn-label-value label="Id"
2019-01-29 20:45:43 +00:00
value="{{worker.id}}">
</vn-label-value>
<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>
2023-05-30 12:02:34 +00:00
<vn-label-value label="Department">
<span
2023-05-31 10:50:02 +00:00
ng-click="workerDepartmentDescriptor.show($event, worker.department.department.id)"
2023-05-30 12:02:34 +00:00
class="link">
2023-05-30 13:13:16 +00:00
{{worker.department.department.name}}
2023-05-30 12:02:34 +00:00
</span>
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">
2023-07-04 07:57:16 +00:00
{{::worker.boss.name}}
2021-02-24 15:12:44 +00:00
</span>
2021-02-19 16:45:45 +00:00
</vn-label-value>
2023-02-27 07:39:46 +00:00
<vn-label-value label="Mobile extension"
value="{{worker.mobileExtension}}">
</vn-label-value>
2023-02-27 07:39:46 +00:00
<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>
2023-02-27 07:39:46 +00:00
<vn-label-value label="Personal phone"
value="{{worker.client.phone}}">
2023-02-27 07:39:46 +00:00
</vn-label-value>
<vn-label-value label="Locker"
value="{{worker.locker}}">
</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>
2023-02-27 07:39:46 +00:00
<vn-label-value label="User id"
2023-08-22 08:45:41 +00:00
value="{{worker.id}}">
2019-01-29 20:45:43 +00:00
</vn-label-value>
2023-02-27 07:39:46 +00:00
<vn-label-value label="User"
value="{{worker.user.name}}">
2019-01-29 20:45:43 +00:00
</vn-label-value>
2023-02-27 07:39:46 +00:00
<vn-label-value label="Role"
2019-01-29 20:45:43 +00:00
value="{{worker.user.role.name}}">
</vn-label-value>
2023-02-27 07:39:46 +00:00
<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>
2023-02-27 07:39:46 +00:00
<vn-worker-descriptor-popover
2021-02-24 15:12:44 +00:00
vn-id="workerDescriptor">
2023-02-27 07:39:46 +00:00
</vn-worker-descriptor-popover>
2023-05-30 12:02:34 +00:00
<vn-worker-department-descriptor-popover
vn-id="workerDepartmentDescriptor">
</vn-worker-department-descriptor-popover>