MOE DESIGN CHANGES

MOE_MAIN
Sultan Khan 3 years ago
parent 55f03d9971
commit 95dde56cd1

@ -29,7 +29,7 @@
<ion-list class="list-en" > <ion-list class="list-en" >
<ion-item (click)="profile()" lines="none"> <ion-item (click)="profile()" lines="none">
<ion-thumbnail slot="start" class="menu-thumb"> <ion-thumbnail slot="start" class="menu-thumb">
<img style= "height: 24px !important;" src="../assets/imgs/profile_icon.png" item-left> <img style= "height: 18px !important; width:16px" src="../assets/imgs/profile_icon.png" item-left>
</ion-thumbnail> </ion-thumbnail>
<ion-label class="profile"> <ion-label class="profile">
{{ts.trPK('userProfile','title')}} {{ts.trPK('userProfile','title')}}
@ -152,7 +152,7 @@
<ion-list class="list-ar" > <ion-list class="list-ar" >
<ion-item (click)="profile()" lines="none"> <ion-item (click)="profile()" lines="none">
<ion-thumbnail slot="start" class="menu-thumb"> <ion-thumbnail slot="start" class="menu-thumb">
<img style= "height: 24px !important;" src="../assets/imgs/profile_icon.png" item-left> <img style= "height: 18px !important; width:16px" src="../assets/imgs/profile_icon.png" item-left>
</ion-thumbnail> </ion-thumbnail>
<ion-label class="profile"> <ion-label class="profile">
{{ts.trPK('userProfile','title')}} {{ts.trPK('userProfile','title')}}

@ -941,14 +941,14 @@ $actionBtnSize : 36px;
letter-spacing: -0.84px; letter-spacing: -0.84px;
color: #2B353E; color: #2B353E;
opacity: 1; opacity: 1;
font-family: var(--fontFamilyPoppins-SemiBold, inherit); font-family: 'Inter' !important;
line-height: 21px; line-height: 21px;
font-size: 21px; font-size: 21px;
} }
.email { .email {
text-align: center; text-align: center;
font-family: var(--fontFamilyPoppins-SemiBold, inherit); font-family: 'Inter' !important;
font-size: 13px; font-size: 13px;
line-height: 6px; line-height: 6px;
letter-spacing: -0.52px; letter-spacing: -0.52px;

@ -57,7 +57,8 @@ export class HomeComponent implements OnInit {
public options = { public options = {
cutoutPercentage: 85, cutoutPercentage: 85,
tooltips: { enabled: false }, tooltips: { enabled: false },
legend: { display: false }}; legend: { display: false }
};
gaugeType = "full"; gaugeType = "full";
// gaugeValue = 11.200; // gaugeValue = 11.200;
@ -126,8 +127,7 @@ slidePrev(object, slideView) {
// P_PAGE_NUM: this.P_PAGE_NUM, // P_PAGE_NUM: this.P_PAGE_NUM,
// P_PAGE_LIMIT: this.P_PAGE_LIMIT // P_PAGE_LIMIT: this.P_PAGE_LIMIT
}; };
this.payslipService.getPayslip(request, ()=> {} , this.ts.trPK('general', 'retry')).subscribe((result)=> this.payslipService.getPayslip(request, () => { }, this.ts.trPK('general', 'retry')).subscribe((result) => {
{
this.handleRespondGetPayslipResult(result); this.handleRespondGetPayslipResult(result);
} }
); );
@ -167,8 +167,7 @@ slidePrev(object, slideView) {
P_ACTION_CONTEXT_ID: ActionContextID, P_ACTION_CONTEXT_ID: ActionContextID,
}; };
this.payslipService.getSummeryOFPayment(request, ()=> {} , this.ts.trPK('general', 'retry')).subscribe((result)=> this.payslipService.getSummeryOFPayment(request, () => { }, this.ts.trPK('general', 'retry')).subscribe((result) => {
{
this.handleSummeryOfPaymentResult(result); this.handleSummeryOfPaymentResult(result);
} }
); );
@ -183,14 +182,16 @@ slidePrev(object, slideView) {
labels: ['earingTotal', 'deductionTotal'], labels: ['earingTotal', 'deductionTotal'],
datasets: [ datasets: [
{ data: [this.earingTotal,this.deductionTotal], {
data: [this.earingTotal, this.deductionTotal],
backgroundColor: [ backgroundColor: [
'#024d71', '#43A6A0',
'#024d71',], '#024d71',],
borderWidth: 2 borderWidth: 2
} }
] ]
}; } };
}
} }
@ -199,8 +200,7 @@ getPaymentInfo(ActionContextID){
P_ACTION_CONTEXT_ID: ActionContextID, P_ACTION_CONTEXT_ID: ActionContextID,
}; };
this.payslipService.getPaymentInfo(request, ()=> {} , this.ts.trPK('general', 'retry')).subscribe((result)=> this.payslipService.getPaymentInfo(request, () => { }, this.ts.trPK('general', 'retry')).subscribe((result) => {
{
this.handleGetPaymentInfoResult(result); this.handleGetPaymentInfoResult(result);
} }
); );
@ -232,8 +232,7 @@ getEarings(ActionContextID){
P_PAGE_LIMIT: 100 P_PAGE_LIMIT: 100
} }
this.doinfinitEarReq = request; this.doinfinitEarReq = request;
this.payslipService.getEarings(request, ()=> {} , this.ts.trPK('general', 'retry')).subscribe((result)=> this.payslipService.getEarings(request, () => { }, this.ts.trPK('general', 'retry')).subscribe((result) => {
{
this.handleGetEaringsResult(result); this.handleGetEaringsResult(result);
} }
); );
@ -260,8 +259,7 @@ getDeduction(ActionContextID){
// this.deductionReq.P_PAGE_LIMIT=100; // this.deductionReq.P_PAGE_LIMIT=100;
this.doinfiniteDedReq = request; this.doinfiniteDedReq = request;
this.payslipService.getDeduction(request, ()=> {} , this.ts.trPK('general', 'retry')).subscribe((result)=> this.payslipService.getDeduction(request, () => { }, this.ts.trPK('general', 'retry')).subscribe((result) => {
{
this.handleGetDeductionResult(result); this.handleGetDeductionResult(result);
} }
); );

Loading…
Cancel
Save