HRM-10/HRM.UI/ClientApp/src/app/payroll-ot/payroll-ot-routing.module.ts
Mohaimen Hasan 838b8d4480 first commit
2026-11-03 13:06:00 +06:00

65 lines
5.6 KiB
TypeScript

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {JdSetupListComponent} from '../organization-management/jd-setup-list/jd-setup-list.component';
import {AuthGuard} from '../_guards/auth.guard';
import {OvertimeBasicEntryComponent} from './overtime-basic-entry/overtime-basic-entry.component';
import {TermParametersComponent} from './term-parameters/term-parameters.component';
import {EmployeeOvertimeEntryComponent} from './employee-overtime-entry/employee-overtime-entry.component';
import {OvertimeSeparatePaymentFromSalaryComponent} from './overtime-separate-payment-from-salary/overtime-separate-payment-from-salary.component';
import {ExportOvertimeEligibleListEntryComponent} from './export-overtime-eligible-list-entry/export-overtime-eligible-list-entry.component';
import {ImportOvertimeEntryComponent} from './import-overtime-entry/import-overtime-entry.component';
import {OvertimePreApprovalComponent} from './overtime-pre-approval/overtime-pre-approval.component';
import {OvertimePreApprovalByLineManagerComponent} from './overtime-pre-approval-by-line-manager/overtime-pre-approval-by-line-manager.component';
import {OvertimeClaimApproveComponent} from './overtime-claim-approve/overtime-claim-approve.component';
import {OvertimeApprovalComponent} from './overtime-approval/overtime-approval.component';
import {BonusBasicEntryComponent} from './bonus-basic-entry/bonus-basic-entry.component';
import {BonusParameterizationListComponent} from './bonus-parameterization-list/bonus-parameterization-list.component';
import {BonusProcessComponent} from './bonus-process/bonus-process.component';
import {BonusApprovalComponent} from './bonus-approval/bonus-approval.component';
import {BonusApprovalSelfServiceComponent} from './bonus-approval-self-service/bonus-approval-self-service.component';
import { EditTermParameterComponent } from './term-parameters/edit-term-parameter/edit-term-parameter.component';
import { BonusParameterizationEditComponent } from './bonus-parameterization-list/bonus-parameterization-edit/bonus-parameterization-edit.component';
import { OTProcesssComponent } from './overtime-process/ot-process.component';
import { BonusApproveComponent } from './bonus-approve/bonus-approve.component';
import { BonusUndoComponent } from './bonus-undo/bonus-undo.component';
import { ProductionBonusSetupComponent } from './production-bonus-setup/production-bonus-setup.component';
import { ProductionBonusAttendanceComponent } from './production-bonus-attendance/production-bonus-attendance.component';
import { ProductionBonusProcessComponent } from './production-bonus-process/production-bonus-process.component';
import { ProratedSalaryCalculationComponent } from './prorated-salary-calculation/prorated-salary-calculation.component';
import { PrbKpiEntryComponent } from './prorated-salary-calculation/prb-kpi-entry.component';
export const routes: Routes = [
{ path: 'overtime-basic-entry', component: OvertimeBasicEntryComponent, canActivate: [AuthGuard] },
{ path: 'overtime-parameterization', component: TermParametersComponent, canActivate: [AuthGuard] },
{ path: 'overtime-parameterization-entry', component: EditTermParameterComponent, canActivate: [AuthGuard] },
{ path: 'employee-overtime-entry', component: EmployeeOvertimeEntryComponent, canActivate: [AuthGuard] },
{ path: 'overtime-process', component: OTProcesssComponent, canActivate: [AuthGuard] },
{ path: 'overtime-separate-payment-from-salary', component: OvertimeSeparatePaymentFromSalaryComponent, canActivate: [AuthGuard] },
{ path: 'export-Overtime-eligible-list-entry', component: ExportOvertimeEligibleListEntryComponent, canActivate: [AuthGuard] },
{ path: 'import-overtime-entry', component: ImportOvertimeEntryComponent, canActivate: [AuthGuard] },
{ path: 'overtime-pre-approval', component: OvertimePreApprovalComponent, canActivate: [AuthGuard] },
{ path: 'overtime-pre-approval-by-line-manager', component: OvertimePreApprovalByLineManagerComponent, canActivate: [AuthGuard] },
{ path: 'overtime-claim-approve', component: OvertimeClaimApproveComponent, canActivate: [AuthGuard] },
{ path: 'overtime-approval', component: OvertimeApprovalComponent, canActivate: [AuthGuard] },
{ path: 'bonus-basic-entry', component: BonusBasicEntryComponent, canActivate: [AuthGuard] },
{ path: 'bonus-parameterization', component: BonusParameterizationListComponent, canActivate: [AuthGuard] },
{ path: 'bonus-parameterization-entry', component: BonusParameterizationEditComponent, canActivate: [AuthGuard] },
{ path: 'bonus-process', component: BonusProcessComponent, canActivate: [AuthGuard] },
{ path: 'bonus-approval', component: BonusApprovalComponent, canActivate: [AuthGuard] },
{ path: 'bonus-approval-self-service', component: BonusApprovalSelfServiceComponent, canActivate: [AuthGuard] },
{ path: 'bonus-approve', component: BonusApproveComponent, canActivate: [AuthGuard] },
{ path: 'bonus-undo', component: BonusUndoComponent, canActivate: [AuthGuard] },
{ path: 'production-bonus-setup', component: ProductionBonusSetupComponent, canActivate: [AuthGuard] },
{ path: 'production-bonus-attendance', component: ProductionBonusAttendanceComponent, canActivate: [AuthGuard] },
{ path: 'production-bonus-process', component: ProductionBonusProcessComponent, canActivate: [AuthGuard] },
{ path: 'prorated-salary-calculation', component: ProratedSalaryCalculationComponent, canActivate: [AuthGuard] },
{ path: 'prb-kpi-entry', component: PrbKpiEntryComponent, canActivate: [AuthGuard] }
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class PayrollOtRoutingModule { }