Commit 01f3e07a6f7c47bdddba57b4da8c1b998cd02aed

Authored by Eric Fernandez
1 parent d5898928bc
Exists in master and in 1 other branch validar_pve

interface categoría2

src/app/components/busqueda-productos/busqueda-productos.component.ts
1 1 import { Component, OnInit, APP_BOOTSTRAP_LISTENER } from '@angular/core';
2 2 import { ProductoService } from 'src/app/services/producto.service';
3 3 import { Producto } from 'src/app/wrappers/producto';
  4 +import { Categoria } from 'src/app/wrappers/categoria';
4 5 import { appSettings } from 'src/etc/AppSettings';
5 6 import { Router } from '@angular/router';
6 7  
... ... @@ -74,10 +75,3 @@ export class BusquedaProductosComponent implements OnInit {
74 75 }
75 76 }
76 77  
77   -interface Categoria {
78   - id: number,
79   - detalle: string,
80   - es_promocion: boolean,
81   - vigencia_desde: Date,
82   - vigencia_hasta: Date
83   -}
src/app/wrappers/categoria.ts
... ... @@ -0,0 +1,7 @@
  1 +export interface Categoria {
  2 + id: number,
  3 + detalle: string,
  4 + es_promocion: boolean,
  5 + vigencia_desde: Date,
  6 + vigencia_hasta: Date
  7 +}
0 8 \ No newline at end of file