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

52 lines
1.8 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">
<a 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>
<h4
translates
ng-show="!$ctrl.isHr">
Basic data
</h4>
2019-01-29 20:45:43 +00:00
<vn-label-value label="Id"
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>
<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>
2020-01-20 10:03:40 +00:00
<vn-label-value label="Phone"
value="{{worker.phone}}">
2019-01-29 20:45:43 +00:00
</vn-label-value>
</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"
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>
2019-01-28 15:24:45 +00:00
</vn-card>