|
|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|