add fix bug

mekawy-issues
Fatimah.Alshammari 6 years ago
parent a18c30eaa5
commit 7c17cb0913

@ -1,8 +1,16 @@
<ion-header>
<!-- <ion-header>
<ion-toolbar class="header-toolbar-new">
<ion-title style="color: white;">{{headerTitle}}</ion-title>
<nav-buttons [enableMenu]="false" [enableBack]="true" [navigate]="true"></nav-buttons>
<ion-title style="color: white;">{{headerTitle}}</ion-title>
</ion-toolbar>
</ion-header> -->
<ion-header >
<ion-toolbar class="header-toolbar-new">
<ion-title color="light">{{headerTitle}}</ion-title>
<ion-buttons slot="start">
<nav-buttons></nav-buttons>
</ion-buttons>
</ion-toolbar>
</ion-header>

@ -9,12 +9,21 @@
</ion-toolbar>
</ion-header> -->
<ion-header>
<!-- <ion-header>
<ion-toolbar class="header-toolbar-new">
<nav-buttons [enableMenu]="false" [enableBack]="true" [navigate]="true"></nav-buttons>
<ion-title style="color: white;">{{ts.trPK('payslip','monthly-payslip')}}</ion-title>
</ion-toolbar>
</ion-header>
</ion-header> -->
<ion-header >
<ion-toolbar class="header-toolbar-new">
<ion-title color="light">{{ts.trPK('payslip','monthly-payslip')}}</ion-title>
<ion-buttons slot="start">
<nav-buttons></nav-buttons>
</ion-buttons>
</ion-toolbar>
</ion-header>
<ion-content class="colorBG">
@ -99,11 +108,11 @@
</div>
<div style="position: relative;
left: 77%;
left: 86%;
bottom: 117px;
color: black;
background-color: #22c6b3;
width: 20%; height: 6px;">
width: 15%; height: 6px;">
<ion-col>
<ion-row>
<label class="green-label">{{ts.trPK('payslip','earnings-key')}}</label>
@ -114,11 +123,11 @@
</ion-col>
</div>
<div style="position: relative;
left: 77%;
left: 86%;
bottom: 67px;
color: black;
background-color: #094875;
width: 20%; height: 6px;">
width: 15%; height: 6px;">
<ion-col>
<ion-row>
<label class="blue-label">{{ts.trPK('payslip','deductions-key')}}</label>

@ -143,8 +143,10 @@
border-radius: 20px !important;
padding-top: 13px;
padding-bottom: 14px;
margin-left: 26px;
margin-right: 28px;
// margin-left: 26px;
// margin-right: 28px;
margin-left: 19px;
margin-right: 19px;
margin-top: -2px;
margin-bottom: 10px;
padding-right: 21px;
@ -179,23 +181,23 @@
}
}
.green-label{
font-size: 12px;
margin-top: -13px;
font-size: 10px;
margin-top: -13px;
}
.green-amount{
font-size: 17px;
font-size: 14px;
font-family: WorkSans-Bold;
margin-top: -3px;
}
.blue-label{
font-size: 12px;
font-size: 10px;
margin-top: -13px;
}
.blue-amount{
font-size: 17px;
font-size: 14px;
font-family: WorkSans-Bold;
margin-top: -4px;
}

@ -1,9 +1,21 @@
<ion-header >
<ion-toolbar class="header-toolbar-new">
<ion-title color="light">{{ts.trPK('userProfile','title')}}</ion-title>
<ion-buttons slot="start">
<nav-buttons></nav-buttons>
</ion-buttons>
</ion-toolbar>
</ion-header>
<ion-content class="colorBG">
<div class="header-div">
<ion-buttons slot="start">
<!-- <ion-buttons slot="start">
<ion-back-button color="light" class="btnBack" defaultHref="/home"></ion-back-button>
</ion-buttons>
<p class="proTitles">{{ts.trPK('userProfile','title')}}</p>
</ion-buttons> -->
<!-- <p class="proTitles">{{ts.trPK('userProfile','title')}}</p> -->
<div>

@ -8,16 +8,19 @@
background: var(--ion-item-background,var(--ion-background-color,#fff));
}
.header-toolbar-new{
--background: #22c6b3;
}
.colorBG{
--background: #f0efef;
}
.header-div{
text-transform: capitalize;
background: #22C6B3;
display: block;
position: relative;
height: 160px;
margin-bottom: 60px;
text-transform: capitalize;
background: #22C6B3;
display: block;
position: relative;
height: 113px;
margin-bottom: 60px;
}

@ -113,6 +113,10 @@ private handlePerformanceAppraisalResult(result){
this.sharedData.setSharedData(this.performanceData, PerformanceAppraisalResponse.PERFORMANCE_DATA);
//localStorage.setItem("performanceData", this.performanceData)
this.cs.openPerformanceevaluation();
}else{
let msg: string = this.ts.trPK("userProfile", "no-appraisal");
this.cs.presentAlert(msg);
}
}
}

@ -938,6 +938,10 @@
"en": "Performance",
"ar": "الاداء"
},
"no-appraisal": {
"en": "No Performance Evaluation",
"ar": "لايوجد تقييم"
},
"changepicture":{
"en":"Change Picture",
"ar":"تغيير الصوره"

Loading…
Cancel
Save