Commit 7a947cbd5d4f3aa7a732ad455ddf6423e998957c

Authored by Luis Suarez
1 parent d163d0153c
Exists in develop

desactivar boton responsive

Showing 2 changed files with 2 additions and 0 deletions   Show diff stats
src/js/controller.js
... ... @@ -1029,6 +1029,7 @@ angular.module('focaCrearRemito').controller('remitoController',
1029 1029 if (total >= 10000000000) {
1030 1030 focaModalService.alert('El monto total debe ser menor a $10.000.000.000,00, elimina un artículo o reduce las cantidades');
1031 1031 $( "#guardar" ).prop( "disabled", true );
  1032 + return;
1032 1033 } else {
1033 1034 $( "#guardar" ).prop( "disabled", false );
1034 1035 }
src/views/remito.html
... ... @@ -228,6 +228,7 @@
228 228 <span class="ml-3 text-muted" ng-click="salir()">Salir</span>
229 229 <span
230 230 class="mr-3 ml-auto"
  231 + ng-disabled="comprobarTotal()"
231 232 ng-class="saveLoading ? 'text-muted' : ''"
232 233 ng-click="crearRemito()"
233 234 ladda="saveLoading"