diff --git a/Mohem/src/app/home/home.page.ts b/Mohem/src/app/home/home.page.ts index 4d308791..b6ceb5e9 100644 --- a/Mohem/src/app/home/home.page.ts +++ b/Mohem/src/app/home/home.page.ts @@ -41,6 +41,7 @@ import { NFC, Ndef } from "@ionic-native/nfc/ngx" import { DigitalIdComponent } from '../authentication/digital-id/digital-id.component'; import { FirebaseX } from '@ionic-native/firebase-x/ngx'; import { BusinessCardComponent } from "src/app/authentication/business-card/business-card.component"; +import { TerminationServiceService } from 'src/app/termination/service/termination-service.service'; @Component({ selector: 'app-home', @@ -723,6 +724,10 @@ export class HomePage implements OnInit { 'menuEntries' ); this.common.openSITPage(); + } else if (subMenu.FUNCTION_NAME == 'HR_TERM_SS' || subMenu.FUNCTION_NAME == 'HR_TERM_EMP_SS') { + this.common.sharedService.setSharedData(subMenu, TerminationServiceService.TERMINATION_PAGE); + + this.common.openTermination(); } if (subMenu.REQUEST_TYPE === 'TIME_CARD') { this.common.openTimeCardPage(); diff --git a/Mohem/src/app/my-team/home/home.component.html b/Mohem/src/app/my-team/home/home.component.html index 5029da4f..4e0d6b8e 100644 --- a/Mohem/src/app/my-team/home/home.component.html +++ b/Mohem/src/app/my-team/home/home.component.html @@ -1,6 +1,6 @@