Commit 0ecd08640353bb6ff8547db3c15ea7446891e135

Authored by Luis Suarez
1 parent 2df54299cb
Exists in develop

cambio nombre del metodo a validarFecha

src/app/modules/seleccion-articulos/filtro-categorias/filtro-categorias.component.html
... ... @@ -40,7 +40,7 @@
40 40 (click)="selectCategoria(i, categoria.id)"
41 41 id="cat-content"
42 42 *ngIf="categoria.articulos > 0
43   - && compararFecha(categoria.vigencia_desde,categoria.vigencia_hasta)">
  43 + && validarFecha(categoria.vigencia_desde,categoria.vigencia_hasta)">
44 44 <img
45 45 draggable="false"
46 46 ondragstart="return false;"
src/app/modules/seleccion-articulos/filtro-categorias/filtro-categorias.component.ts
... ... @@ -87,7 +87,7 @@ export class FiltroCategoriasComponent implements OnInit {
87 87 }, 500);
88 88 }
89 89  
90   - compararFecha(fechaInicioString: string, fechaFinString: string) {
  90 + validarFecha(fechaInicioString: string, fechaFinString: string) {
91 91 const fechaInicio = new Date(fechaInicioString);
92 92 const fechaFin = new Date(fechaFinString);
93 93 const fechaAux = Date.now();