|
|
@@ -19,6 +19,8 @@ import { GETBGMComponent } from './components/getb/getbgm/getbgm.component';
|
|
|
import { GETBSBComponent } from './components/getb/getbsb/getbsb.component';
|
|
|
import { GETBMEComponent } from './components/getb/getbme/getbme.component';
|
|
|
import { GETBREComponent } from './components/getb/getbre/getbre.component';
|
|
|
+import { GetbtbComponent } from './components/getb/getbtb/getbtb.component';
|
|
|
+import { GETBTBFORMComponent } from './components/getb/getbtb/getbtb-form/getbtb-form.component';
|
|
|
|
|
|
// Módulo: Gestión de Adquisiciones //
|
|
|
import { MGADComponent } from './components/mgad/mgad.component';
|
|
|
@@ -82,6 +84,7 @@ import { FaAgregarFacturaComponent } from './components/mgad/smfa/fa-facturas-pe
|
|
|
import { FaInformacionFacturaComponent } from './components/mgad/smfa/fa-facturas-pendientes/fa-informacion-factura/fa-informacion-factura.component';
|
|
|
|
|
|
const routes: Routes = [
|
|
|
+ { path: '', redirectTo:'/login', pathMatch: 'full'},
|
|
|
{ path: 'login', component: LoginComponent, canActivate: [LoginGuard] },
|
|
|
{
|
|
|
path: 'sam', component: TemplateComponent, canActivate: [AuthGuard],
|
|
|
@@ -97,6 +100,8 @@ const routes: Routes = [
|
|
|
{ path: 'getbsb', component: GETBSBComponent},
|
|
|
{ path: 'getbme', component: GETBMEComponent},
|
|
|
{ path: 'getbre', component: GETBREComponent},
|
|
|
+ { path: 'getbtb', component: GetbtbComponent},
|
|
|
+ { path: 'getbtb-create', component: GETBTBFORMComponent},
|
|
|
|
|
|
{ path: 'template-menu', component: Plantilla1Component},
|
|
|
{ path: 'template-table', component: Plantilla2Component},
|
|
|
@@ -162,6 +167,7 @@ const routes: Routes = [
|
|
|
{ path: 'agregar-factura', component: FaAgregarFacturaComponent},
|
|
|
{ path: 'informacion-factura', component: FaInformacionFacturaComponent},
|
|
|
|
|
|
+ { path: 'template-form', component: Plantilla3Component}
|
|
|
]
|
|
|
}
|
|
|
];
|