Commit dbb7642a8842473ef16565c47ddb38f64a52812b
1 parent
62e2409095
Exists in
master
first commit
Showing
6 changed files
with
52 additions
and
1 deletions
 
Show diff stats
src/app/app-routing.module.ts
| ... | ... | @@ -9,6 +9,7 @@ import { PagoComponent } from './components/pago/pago.component'; | 
| 9 | 9 | import { CancelarCompraComponent } from './components/cancelar-compra/cancelar-compra.component'; | 
| 10 | 10 | import { MensajeFinalComponent } from './components/mensaje-final/mensaje-final.component'; | 
| 11 | 11 | import { ComandaComponent } from './components/comanda/comanda.component'; | 
| 12 | +import { PedidosSalientesComponent } from './components/pedidos-salientes/pedidos-salientes.component'; | |
| 12 | 13 | |
| 13 | 14 | const routes: Routes = [ | 
| 14 | 15 | { path: '', component: HomeComponent }, | 
| ... | ... | @@ -18,6 +19,7 @@ const routes: Routes = [ | 
| 18 | 19 | { path: 'cancelar-compra', component: CancelarCompraComponent }, | 
| 19 | 20 | { path: 'mensaje-final', component: MensajeFinalComponent }, | 
| 20 | 21 | { path: 'comanda', component: ComandaComponent }, | 
| 22 | + { path: 'pedidos-salientes', component: PedidosSalientesComponent }, | |
| 21 | 23 | { | 
| 22 | 24 | path: '', | 
| 23 | 25 | component: MasterComponent, | 
src/app/app.module.ts
| ... | ... | @@ -31,6 +31,7 @@ import { PagoComponent } from './components/pago/pago.component'; | 
| 31 | 31 | import { CancelarCompraComponent } from './components/cancelar-compra/cancelar-compra.component'; | 
| 32 | 32 | import { MensajeFinalComponent } from './components/mensaje-final/mensaje-final.component'; | 
| 33 | 33 | import { ComandaComponent } from './components/comanda/comanda.component'; | 
| 34 | +import { PedidosSalientesComponent } from './components/pedidos-salientes/pedidos-salientes.component'; | |
| 34 | 35 | //#endregion | 
| 35 | 36 | |
| 36 | 37 | @NgModule({ | 
| ... | ... | @@ -48,7 +49,8 @@ import { ComandaComponent } from './components/comanda/comanda.component'; | 
| 48 | 49 | PagoComponent, | 
| 49 | 50 | CancelarCompraComponent, | 
| 50 | 51 | MensajeFinalComponent, | 
| 51 | - ComandaComponent | |
| 52 | + ComandaComponent, | |
| 53 | + PedidosSalientesComponent | |
| 52 | 54 | ], | 
| 53 | 55 | imports: [ | 
| 54 | 56 | BrowserModule, | 
src/app/components/pedidos-salientes/pedidos-salientes.component.html
src/app/components/pedidos-salientes/pedidos-salientes.component.scss
src/app/components/pedidos-salientes/pedidos-salientes.component.spec.ts
| ... | ... | @@ -0,0 +1,25 @@ | 
| 1 | +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
| 2 | + | |
| 3 | +import { PedidosSalientesComponent } from './pedidos-salientes.component'; | |
| 4 | + | |
| 5 | +describe('PedidosSalientesComponent', () => { | |
| 6 | + let component: PedidosSalientesComponent; | |
| 7 | + let fixture: ComponentFixture<PedidosSalientesComponent>; | |
| 8 | + | |
| 9 | + beforeEach(async(() => { | |
| 10 | + TestBed.configureTestingModule({ | |
| 11 | + declarations: [ PedidosSalientesComponent ] | |
| 12 | + }) | |
| 13 | + .compileComponents(); | |
| 14 | + })); | |
| 15 | + | |
| 16 | + beforeEach(() => { | |
| 17 | + fixture = TestBed.createComponent(PedidosSalientesComponent); | |
| 18 | + component = fixture.componentInstance; | |
| 19 | + fixture.detectChanges(); | |
| 20 | + }); | |
| 21 | + | |
| 22 | + it('should create', () => { | |
| 23 | + expect(component).toBeTruthy(); | |
| 24 | + }); | |
| 25 | +}); | 
src/app/components/pedidos-salientes/pedidos-salientes.component.ts
| ... | ... | @@ -0,0 +1,15 @@ | 
| 1 | +import { Component, OnInit } from '@angular/core'; | |
| 2 | + | |
| 3 | +@Component({ | |
| 4 | + selector: 'app-pedidos-salientes', | |
| 5 | + templateUrl: './pedidos-salientes.component.html', | |
| 6 | + styleUrls: ['./pedidos-salientes.component.scss'] | |
| 7 | +}) | |
| 8 | +export class PedidosSalientesComponent implements OnInit { | |
| 9 | + | |
| 10 | + constructor() { } | |
| 11 | + | |
| 12 | + ngOnInit() { | |
| 13 | + } | |
| 14 | + | |
| 15 | +} |