From d5f2a66debbf723cd84eb72e2e7cc3048b93920d Mon Sep 17 00:00:00 2001 From: Fatimah Alshammari Date: Sun, 30 May 2021 12:23:30 +0300 Subject: [PATCH] no message --- Mohem/src/app/app.component.html | 8 +- Mohem/src/app/app.component.ts | 5 + .../services/common/common.service.ts | 6 + .../my-team/details/details.component.html | 167 +++++++++++++- .../my-team/details/details.component.scss | 213 ++++++++++++++++-- .../app/my-team/details/details.component.ts | 144 +++++++++++- .../src/app/my-team/home/home.component.html | 51 ++++- .../src/app/my-team/home/home.component.scss | 67 ++++++ Mohem/src/app/my-team/home/home.component.ts | 7 +- Mohem/src/app/my-team/my-team.module.ts | 17 +- .../app/my-team/service/my-team.service.ts | 15 ++ Mohem/src/assets/localization/i18n.json | 48 ++++ 12 files changed, 711 insertions(+), 37 deletions(-) diff --git a/Mohem/src/app/app.component.html b/Mohem/src/app/app.component.html index a8aaa491..9c4c3831 100644 --- a/Mohem/src/app/app.component.html +++ b/Mohem/src/app/app.component.html @@ -44,7 +44,13 @@ {{ts.trPK('myTeam','myTeam-header')}} - + + + + + + HR Request + diff --git a/Mohem/src/app/app.component.ts b/Mohem/src/app/app.component.ts index 020b130c..60ccbb2c 100644 --- a/Mohem/src/app/app.component.ts +++ b/Mohem/src/app/app.component.ts @@ -193,6 +193,11 @@ export class AppComponent implements OnInit { this.menu.toggle(); } + public openMyRequestPage() { + this.cs.openMyRequestPage(); + this.menu.toggle(); + } + async openDigitalId() { const modal = await this.modalController.create({ component: DigitalIdComponent, diff --git a/Mohem/src/app/hmg-common/services/common/common.service.ts b/Mohem/src/app/hmg-common/services/common/common.service.ts index 83f50a82..dc46578b 100644 --- a/Mohem/src/app/hmg-common/services/common/common.service.ts +++ b/Mohem/src/app/hmg-common/services/common/common.service.ts @@ -1118,6 +1118,12 @@ public getMonthNameAr(value: number): string { public openMyTeamDetailPage() { this.nav.navigateForward(['/my-team/details']); } + public openHRRequestPage() { + this.nav.navigateForward(['/my-team/hr-request']); + } + public openMyRequestPage() { + this.nav.navigateForward(['/my-team/my-request']); + } public openPage(link: string) { this.nav.navigateForward([link]); diff --git a/Mohem/src/app/my-team/details/details.component.html b/Mohem/src/app/my-team/details/details.component.html index f2837622..c34d32d9 100644 --- a/Mohem/src/app/my-team/details/details.component.html +++ b/Mohem/src/app/my-team/details/details.component.html @@ -13,13 +13,72 @@ -