You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mohemmionic5/Mohem/src/app/app-routing.module.ts

43 lines
2.7 KiB
TypeScript

4 years ago
import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
4 years ago
const routes: Routes = [
{ path: '', redirectTo: 'authentication/login', pathMatch: 'full' },
{
path: 'authentication', loadChildren: './authentication/authentication.module#AuthenticationPageModule'
},
{ path: 'home', loadChildren: './home/home.module#HomePageModule' },
{ path: 'profile', loadChildren: './profile/profile.module#ProfilePageModule' },
{ path: 'vacation-rule', loadChildren: './vacation-rule/vacation-rule.module#VacationRulePageModule' },
{ path: 'accrual-balances', loadChildren: './accrual-balances/accrual-balances.module#AccrualBalancesPageModule' },
{ path: 'my-team', loadChildren: './my-team/my-team.module#MyTeamPageModule' },
{ path: 'attendance', loadChildren: './attendance/attendance.module#AttendancePageModule' },
{ path: 'eit', loadChildren: './eit/eit.module#EITPageModule' },
{ path: 'absence', loadChildren: './absence/absence.module#AbsencePageModule' },
{ path: 'notification', loadChildren: './notification/notification.module#NotificationPageModule' },
{ path: 'my-specialist', loadChildren: './my-specialist/my-specialist.module#MySpecialistPageModule' },
{ path: 'my-subordinate', loadChildren: './my-subordinate/my-subordinate.module#MySubordinatePageModule' },
{ path: 'time-card', loadChildren: './time-card/time-card.module#TimeCardPageModule' },
{ path: 'payslip', loadChildren: './payslip/payslip.module#PayslipPageModule' },
{ path: 'attendance-tracking', loadChildren: './attendance-tracking/attendance-tracking.module#AttendanceTrackingPageModule' },
{ path: 'itemforsale', loadChildren: './itemforsale/itemforsale.module#ItemforsalePageModule' },
{ path: 'offersdiscount', loadChildren: './offersdiscount/offersdiscount.module#OffersdiscountPageModule' },
{ path: 'mowadhafi', loadChildren: './mowadhafi/mowadhafi.module#MowadhafiPageModule' },
{ path: 'erm-channel', loadChildren: './erm-channel/erm-channel.module#ErmChannelPageModule' },
{ path: 'backend-integrations', loadChildren: './backend-integrations/backend-integrations.module#BackendIntegrationsPageModule' },
Merge branch 'MOHEMM-Q3-DEV-LATEST' into MOHEMM-PHASE-2-SFH # Conflicts: # Mohem/resources/android/icon/drawable-hdpi-icon.png # Mohem/resources/android/icon/drawable-ldpi-icon.png # Mohem/resources/android/icon/drawable-mdpi-icon.png # Mohem/resources/android/icon/drawable-xhdpi-icon.png # Mohem/resources/android/icon/drawable-xxhdpi-icon.png # Mohem/resources/android/icon/drawable-xxxhdpi-icon.png # Mohem/resources/android/splash/drawable-land-hdpi-screen.png # Mohem/resources/android/splash/drawable-land-ldpi-screen.png # Mohem/resources/android/splash/drawable-land-mdpi-screen.png # Mohem/resources/android/splash/drawable-land-xhdpi-screen.png # Mohem/resources/android/splash/drawable-land-xxhdpi-screen.png # Mohem/resources/android/splash/drawable-land-xxxhdpi-screen.png # Mohem/resources/android/splash/drawable-port-hdpi-screen.png # Mohem/resources/android/splash/drawable-port-ldpi-screen.png # Mohem/resources/android/splash/drawable-port-mdpi-screen.png # Mohem/resources/android/splash/drawable-port-xhdpi-screen.png # Mohem/resources/android/splash/drawable-port-xxhdpi-screen.png # Mohem/resources/android/splash/drawable-port-xxxhdpi-screen.png # Mohem/src/app/app-routing.module.ts # Mohem/src/app/app.component.html # Mohem/src/app/app.component.ts # Mohem/src/app/hmg-common/services/authentication/authentication.service.ts # Mohem/src/app/hmg-common/services/common/common.service.ts # Mohem/src/app/hmg-common/ui/generic-header/generic-header.component.scss # Mohem/src/app/home/home.page.ts # Mohem/src/app/my-team/details/details.component.ts # Mohem/src/app/notification/home/home.component.html # Mohem/src/app/notification/home/home.component.ts # Mohem/src/app/notification/work-list-replacement-itg/work-list-replacement-itg.component.scss # Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.scss # Mohem/src/app/notification/worklist-main/worklist-main.component.html # Mohem/src/app/notification/worklist-main/worklist-main.component.ts # Mohem/src/app/profile/home/home.component.ts # Mohem/src/app/time-card/time-card-details/time-card-details.component.ts
4 years ago
{ path: 'sit', loadChildren: './sit/sit.module#SitPageModule' },
4 years ago
{ path: 'reports', loadChildren: './reports/reports.module#ReportsPageModule' },
4 years ago
{ path: 'termination', loadChildren: './termination/termination.module#TerminationPageModule' },
{ path: 'pending-transaction', loadChildren: './pending-transaction/pending-transaction.module#PendingTransactionPageModule' }
4 years ago
];
@NgModule({
imports: [
/*RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules}),*/
RouterModule.forRoot(routes),
],
exports: [RouterModule]
})
export class AppRoutingModule { }