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 @@
- Team Member Image + Team Member Image

{{employee.EMPLOYEE_NAME}}

{{employee.JOB_NAME}}
-
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+
+ + + {{ts.trPK('attendance','monthly-attendance-calendar')}} + + + + + + +
@@ -132,6 +212,37 @@
{{ts.trPK('myTeam','attendance-statistics')}}
+
+ + +
+ {{ts.trPK('attendance-tracking','schedule')}} +

{{timeCardSummaryData?.SCHEDULE_DAYS}}

+
+
+ + +
+ {{ts.trPK('attendance-tracking','off-days')}} +

{{timeCardSummaryData?.OFF_DAYS}}

+
+
+ + +
+ {{ts.trPK('attendance-tracking','non-analyzed')}} +

{{timeCardSummaryData?.NOT_ANALYZED_DAYS}}

+
+
+ + +
+ {{ts.trPK('attendance-tracking','shortage-hours')}} +

{{timeCardSummaryData?.SHORTAGE_HRS}}

+
+
+
+
@@ -152,6 +263,45 @@
+ + + + +
+
+
+ + + {{ts.trPK('attendance','monthly-attendance-calendar')}} + + + + + + + +
+ +
+
+ +
+ + + + + + + +
@@ -196,7 +346,14 @@
-
+
+ +

{{ts.trPK('myTeam','my-team-members')}}

+

{{EmpTotal}}

+
+ +
+
-
+
+
+ {{ts.trPK('myTeam','search-by')}} +
+
+ + + + + {{ts.trPK('searchForReplacment','name')}} + {{ts.trPK('searchForReplacment','name')}} + + {{ts.trPK('searchForReplacment','userName')}} + {{ts.trPK('searchForReplacment','userName')}} + + {{ts.trPK('searchForReplacment','email')}} + {{ts.trPK('searchForReplacment','email')}} + + + + + + + + + + + +
+ +
+
+ +

{{ts.trPK('myTeam','my-team-members')}}

+

{{EmpTotal}}

+
+ +
+ + + +