Commit 6733eafdc51102732c62538500077a247de530e7

Authored by Luigi
1 parent 68c813cf44
Exists in master

Alerta al cargar las cisternas

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/js/controllerDetalles.js
... ... @@ -161,7 +161,7 @@ angular.module('focaCrearHojaRuta')
161 161 (!cisterna.articuloSeleccionado && cisterna.disponible);
162 162 });
163 163  
164   - if (cisternasIncompletas.length || !cisternasFilter.length) {
  164 + if (cisternasIncompletas.length > 0 && cisternasFilter.length > 0 ) {
165 165 focaModalService.alert('Ingrese todos los campos para completar el remito');
166 166 cisternasFilter = undefined;
167 167 }