|
|
|
@ -51,9 +51,8 @@ export class HomeComponent implements OnInit {
|
|
|
|
this.getVacationRules();
|
|
|
|
this.getVacationRules();
|
|
|
|
}, this.ts.trPK('general', 'retry')).subscribe((result) => {
|
|
|
|
}, this.ts.trPK('general', 'retry')).subscribe((result) => {
|
|
|
|
if (this.cs.validResponse(result)) {
|
|
|
|
if (this.cs.validResponse(result)) {
|
|
|
|
// console.log(result);
|
|
|
|
|
|
|
|
// console.log(JSON.stringify(result));
|
|
|
|
|
|
|
|
this.GetVacationRulesList = result.GetVacationRulesList;
|
|
|
|
this.GetVacationRulesList = result.GetVacationRulesList;
|
|
|
|
|
|
|
|
console.log(result.GetVacationRulesList);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.cs.presentAlert(result.ErrorEndUserMessage);
|
|
|
|
this.cs.presentAlert(result.ErrorEndUserMessage);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|