Moved to Angular 6.0

----

Pending
* Table width for the points column in incentive
* Linting
* keyboard navigation where it was used earlier
* can remove the unused totals calculated serverside in productledger
* spinner and loading bars
* Activate Guard for Employee Function tabs
* Progress for Fingerprint uploads
* deleted reconcile and receipe features as they were not being used
* focus the right control on component load
This commit is contained in:
tanshu committed 2018-06-09 17:05:11 +05:30
1 parent b3cb01da02
commit 6be1dd5a3a
1380 files changed
+23914 -18722

No files matched your search

@@ -0,0 +1,52 @@
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {RouterModule, Routes} from '@angular/router';
import {PaymentResolver} from './payment-resolver.service';
import {AuthGuard} from '../auth/auth-guard.service';
import {PaymentComponent} from './payment.component';
import {PaymentAccountsResolver} from './payment-accounts-resolver.service';
const paymentRoutes: Routes = [
{
path: 'Payment',
component: PaymentComponent,
canActivate: [AuthGuard],
data: {
permission: 'Payment'
},
resolve: {
paymentAccounts: PaymentAccountsResolver,
voucher: PaymentResolver
},
runGuardsAndResolvers: 'paramsChange'
},
{
path: 'Payment/:id',
component: PaymentComponent,
canActivate: [AuthGuard],
data: {
permission: 'Payment'
},
resolve: {
paymentAccounts: PaymentAccountsResolver,
voucher: PaymentResolver
},
runGuardsAndResolvers: 'paramsChange'
}
];
@NgModule({
imports: [
CommonModule,
RouterModule.forChild(paymentRoutes)
],
exports: [
RouterModule
],
providers: [
PaymentResolver
]
})
export class PaymentRoutingModule {
}