edit
This commit is contained in:
@ -15,7 +15,7 @@ import { InvoiceRequestedComponent } from './components/invoice-requested/invoic
|
||||
import { InvoicedListComponent } from './components/invoiced-list/invoiced-list.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: 'invoice-requested', component: InvoiceRequestedComponent },
|
||||
{ path: 'invoice-requested', component: InvoiceRequestedComponent, data: { guard: { ability: ['TICKET-INVOICE-REQUESTED-list'] } } },
|
||||
{ path: 'invoice-requested/detail/:id', component: InvoiceRequestedDetailComponent },
|
||||
{ path: 'invoice-list', component: InvoicedListComponent },
|
||||
{ path: 'invoice-list/detail/:id', component: InvoiceDetailComponent },
|
||||
@ -28,7 +28,7 @@ const routes: Routes = [
|
||||
{ path: 'input-invoice', component: InputInvoiceComponent },
|
||||
{ path: 'input-invoice/detail/:id', component: InputInvoiceDetailComponent },
|
||||
{ path: 'input-invoice/edit/:id', component: EditCollectionInvoiceComponent },
|
||||
{ path: 'express-info', component: ExpressInfoComponent },
|
||||
{ path: 'express-info', component: ExpressInfoComponent }
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
||||
Reference in New Issue
Block a user