|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
<div [ngClass]="direction == 'ltr' ? 'result-graph' : 'result-graph-ar'" style="margin-top: -50px;">
|
|
|
|
|
<div class="user-info">
|
|
|
|
|
<div class="user-image-container">
|
|
|
|
|
<div class="user-image">
|
|
|
|
|
<div [ngClass]=" direction == 'ltr' ? 'user-image' : 'user-image-ar'" >
|
|
|
|
|
<img [ngClass]="direction == 'ltr'? 'img':'img-ar' "
|
|
|
|
|
[src]="personalInfo.EMPLOYEE_IMAGE ? 'data:image/png;base64,'+personalInfo.EMPLOYEE_IMAGE : '../assets/imgs/profile.png'"
|
|
|
|
|
alt="Team Member Image" />
|
|
|
|
|
@ -18,19 +18,20 @@
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-top: 18px;">
|
|
|
|
|
<h1>{{personalInfo.EMPLOYEE_NAME}}</h1>
|
|
|
|
|
<span>{{personalInfo.EMPLOYEE_EMAIL_ADDRESS}}</span>
|
|
|
|
|
|
|
|
|
|
<div style="margin-top: 25px;">
|
|
|
|
|
<h1 class="name">{{personalInfo.EMPLOYEE_NAME}}</h1>
|
|
|
|
|
<span class="email">{{personalInfo.EMPLOYEE_EMAIL_ADDRESS}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-col style="border-right: 1px solid rgb(221 221 221);">
|
|
|
|
|
<p style="font-size: 12px; color: rgb(128, 124, 124);">{{ts.trPK('userProfile','role')}}</p>
|
|
|
|
|
<span class="Boldtext">{{personalInfo.JOB_NAME}}</span>
|
|
|
|
|
<ion-row style="margin-top: 11px;">
|
|
|
|
|
<ion-col [size]="6">
|
|
|
|
|
<p class="subTitle">{{ts.trPK('userProfile','role')}}</p>
|
|
|
|
|
<span class="boldText">{{personalInfo.JOB_NAME}}</span>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col>
|
|
|
|
|
<p style="font-size: 12px; color: rgb(128, 124, 124);">{{ts.trPK('userProfile','empNo')}}</p>
|
|
|
|
|
<span class="Boldtext">{{personalInfo.EMPLOYEE_NUMBER}}</span>
|
|
|
|
|
<ion-col [size]="6" style="border-left: 1px solid rgb(221 221 221);">
|
|
|
|
|
<p class="subTitle" style="line-height: 8px !important;">{{ts.trPK('userProfile','empNo')}}</p>
|
|
|
|
|
<span class="boldText">{{personalInfo.EMPLOYEE_NUMBER}}</span>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|
|
|
|
|
</div>
|
|
|
|
|
@ -41,38 +42,38 @@
|
|
|
|
|
<div class="action-button col-button">
|
|
|
|
|
<img *ngIf="!personalInfoSegment" style="width: 40px;" src="../assets/imgs/profile-icons/info@2x.png">
|
|
|
|
|
<img *ngIf="personalInfoSegment" style="width: 40px;" src="../assets/imgs/profile-icons/info-a@2x.png">
|
|
|
|
|
<span style="font-size: 11px;">{{ts.trPK('general','personal-info')}}</span>
|
|
|
|
|
<span class="btnTitle">{{ts.trPK('general','personal-info')}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col [size]="4" (click)="selectedSegment('basic')">
|
|
|
|
|
<div class="action-button col-button">
|
|
|
|
|
<img *ngIf="!basicDetailsSegment" style="width: 40px;" src="../assets/imgs/profile-icons/basic-detail@2x.png">
|
|
|
|
|
<img *ngIf="basicDetailsSegment" style="width: 40px;" src="../assets/imgs/profile-icons/basic-detail@21.png">
|
|
|
|
|
<span style="font-size: 11px;">{{ts.trPK('general','basic-details')}}</span>
|
|
|
|
|
<span class="btnTitle">{{ts.trPK('general','basic-details')}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col [size]="4" (click)="selectedSegment('address')">
|
|
|
|
|
<div class="action-button col-button">
|
|
|
|
|
<img *ngIf="!addressSegment" style="width: 40px;" src="../assets/imgs/profile-icons/main-address@2x.png">
|
|
|
|
|
<img *ngIf="addressSegment" style="width: 40px;" src="../assets/imgs/profile-icons/main address-a@2x.png">
|
|
|
|
|
<span style="font-size: 11px;">{{ts.trPK('userProfile','address')}} </span>
|
|
|
|
|
<span class="btnTitle">{{ts.trPK('userProfile','address')}} </span>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|
|
|
|
|
</div>
|
|
|
|
|
<ion-grid [ngClass]="direction === 'ltr'? 'grid-card':'grid-card-ar' ">
|
|
|
|
|
<div [ngClass]=" direction == 'ltr' ? 'gridService-en' : 'gridService-ar'"
|
|
|
|
|
style="background: #002948; border-radius: 0px 0px 10px 10px;">
|
|
|
|
|
style="background: #2B353E; border-radius: 0px 0px 10px 10px;">
|
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-col>
|
|
|
|
|
<label
|
|
|
|
|
style="font-size: 12px; color: white; margin: 10px 0px 0px 0px; display: block; text-align: center;font-weight: bold;">
|
|
|
|
|
style="font-size: 11px; color: white; margin: 10px 0px 0px 0px; display: block; text-align: center;font-family: var(--fontFamilyPoppins-SemiBold, inherit);">
|
|
|
|
|
{{ 'general, appreciate-service' | translate}}
|
|
|
|
|
</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|
|
|
|
|
<ion-row [ngClass]=" direction == 'ltr' ? 'service-row-en' : 'service-row-ar'">
|
|
|
|
|
<ion-col [ngClass]=" direction == 'ltr' ? 'columns' : 'columns-ar'">
|
|
|
|
|
<ion-col [size]="4" [ngClass]=" direction == 'ltr' ? 'columns' : 'columns-ar'">
|
|
|
|
|
<ion-grid>
|
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-col class="text-years">
|
|
|
|
|
@ -83,7 +84,7 @@
|
|
|
|
|
</ion-row>
|
|
|
|
|
</ion-grid>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col [ngClass]=" direction == 'ltr' ? 'columns' : 'columns-ar'">
|
|
|
|
|
<ion-col [size]="4" [ngClass]=" direction == 'ltr' ? 'columns' : 'columns-ar'">
|
|
|
|
|
<ion-grid>
|
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-col class="text-years">
|
|
|
|
|
@ -94,7 +95,7 @@
|
|
|
|
|
</ion-row>
|
|
|
|
|
</ion-grid>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col [ngClass]=" direction == 'ltr' ? 'columns' : 'columns-ar'">
|
|
|
|
|
<ion-col [size]="4" [ngClass]=" direction == 'ltr' ? 'columns' : 'columns-ar'">
|
|
|
|
|
<ion-grid>
|
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-col class="text-years">
|
|
|
|
|
@ -115,28 +116,28 @@
|
|
|
|
|
<ion-card *ngIf="personalInfoSegment" [ngClass]="direction === 'ltr'? 'card-size-info-en': 'card-size-info-ar' ">
|
|
|
|
|
<ion-card-content>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h1 class="header-label-text-form">{{ts.trPK('userProfile','personal-informaion')}}</h1>
|
|
|
|
|
<h1 [ngClass]="direction === 'ltr'? 'Profileheader-label-text-form': 'Profileheader-label-text-form-ar' " >{{ts.trPK('userProfile','personal-informaion')}}</h1>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('userProfile','category')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' ">{{ts.trPK('userProfile','category')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{personalInfo.EMPLOYMENT_CATEGORY_MEANING}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' ">{{personalInfo.EMPLOYMENT_CATEGORY_MEANING}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('userProfile','phone-no')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' ">{{ts.trPK('userProfile','phone-no')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{personalInfo.EMPLOYEE_MOBILE_NUMBER}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' ">{{personalInfo.EMPLOYEE_MOBILE_NUMBER}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('userProfile','busG')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' ">{{ts.trPK('userProfile','busG')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{personalInfo.BUSINESS_GROUP_NAME}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' ">{{personalInfo.BUSINESS_GROUP_NAME}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('userProfile','payrol')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' ">{{ts.trPK('userProfile','payrol')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{personalInfo.PAYROLL_NAME}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' ">{{personalInfo.PAYROLL_NAME}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
</ion-card-content>
|
|
|
|
|
</ion-card>
|
|
|
|
|
@ -144,15 +145,15 @@
|
|
|
|
|
<ion-card *ngIf="basicDetailsSegment" [ngClass]="direction === 'ltr'? 'card-size-info-en': 'card-size-info-ar' ">
|
|
|
|
|
<ion-card-content *ngIf="!editBasic && (fullName && maritalStatus && birthDate && civilIdentityNumber)">
|
|
|
|
|
<ion-grid>
|
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-row style="width: 113%;">
|
|
|
|
|
<ion-col size="10">
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h1 class="header-label-text-form">{{ts.trPK('general','basic-details')}}</h1>
|
|
|
|
|
<h1 [ngClass]="direction === 'ltr'? 'header-label-text-form': 'header-label-text-form-ar' ">{{ts.trPK('general','basic-details')}}</h1>
|
|
|
|
|
</ion-label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
|
|
|
|
|
<ion-col size="2" *ngIf="basicDetailsSubMenu && basicDetailsSubMenu.UPDATE_BUTTON === 'Y'">
|
|
|
|
|
<img style="width: 70%;" src="../assets/imgs/profile-icons/editing@2x.png"
|
|
|
|
|
<img style="width: 18px;height: 18px;" src="../assets/imgs/profile-icons/editing@2x.png"
|
|
|
|
|
(click)="allowEdit('basic')">
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col size="2" *ngIf="basicDetailsSubMenu && basicDetailsSubMenu.ADD_BUTTON === 'Y'">
|
|
|
|
|
@ -162,24 +163,24 @@
|
|
|
|
|
</ion-grid>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('general','full-name')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' ">{{ts.trPK('general','full-name')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{fullName}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' ">{{fullName}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('general','marital-status')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' ">{{ts.trPK('general','marital-status')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{maritalStatus}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' ">{{maritalStatus}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('general','birth_date')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' ">{{ts.trPK('general','birth_date')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{birthDate}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' ">{{birthDate}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('general','civil-identity-number')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' ">{{ts.trPK('general','civil-identity-number')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{civilIdentityNumber}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' ">{{civilIdentityNumber}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
</ion-card-content>
|
|
|
|
|
</ion-card>
|
|
|
|
|
@ -187,16 +188,16 @@
|
|
|
|
|
<ion-card *ngIf="addressSegment" [ngClass]="direction === 'ltr'? 'card-size-info-en': 'card-size-info-ar' ">
|
|
|
|
|
<ion-card-content *ngIf="!editAddress && employeeAdress">
|
|
|
|
|
<ion-grid>
|
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-row style="width: 113%;">
|
|
|
|
|
<ion-col size="10">
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h1 class="header-label-text-form">{{ts.trPK('general','main-address')}}</h1>
|
|
|
|
|
<h1 [ngClass]="direction === 'ltr'? 'header-label-text-form': 'header-label-text-form-ar' ">{{ts.trPK('general','main-address')}}</h1>
|
|
|
|
|
</ion-label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
|
|
|
|
|
<ion-col size="2" *ngIf="addressSubMenu && addressSubMenu.UPDATE_BUTTON === 'Y'" (click)="allowEdit('address')">
|
|
|
|
|
<img style="width: 70%;" src="../assets/imgs/profile-icons/editing@2x.png"
|
|
|
|
|
>
|
|
|
|
|
<img style="width: 18px; height: 18px;" src="../assets/imgs/profile-icons/editing@2x.png"
|
|
|
|
|
(click)="allowEdit('address')">
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col size="2" *ngIf="addressSubMenu && addressSubMenu.ADD_BUTTON === 'Y'" (click)="allowEdit('address')">
|
|
|
|
|
<ion-icon class="add-icon-styling" name="add"></ion-icon>
|
|
|
|
|
@ -205,34 +206,34 @@
|
|
|
|
|
</ion-grid>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('userProfile','address')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' " >{{ts.trPK('userProfile','address')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{address}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' " >{{address}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('userProfile','street')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' " >{{ts.trPK('userProfile','street')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{street}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' ">{{street}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('userProfile','area')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' " >{{ts.trPK('userProfile','area')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{area}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' " >{{area}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('userProfile','p-o-box')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' " >{{ts.trPK('userProfile','p-o-box')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{poBox}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' " >{{poBox}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('userProfile','city')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' " >{{ts.trPK('userProfile','city')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{city}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' " >{{city}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<h3 class="type-label-text-form">{{ts.trPK('userProfile','postal-code')}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'type-label-text-form': 'type-label-text-form-ar' " >{{ts.trPK('userProfile','postal-code')}}</h3>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<h3 class="result-label-text-form">{{postalCode}}</h3>
|
|
|
|
|
<h3 [ngClass]="direction === 'ltr'? 'result-label-text-form': 'result-label-text-form-ar' " >{{postalCode}}</h3>
|
|
|
|
|
<br>
|
|
|
|
|
</ion-card-content>
|
|
|
|
|
</ion-card>
|
|
|
|
|
|