Commit b09f4774f7e2bf0c8ce133841857e464cc35091b

Authored by Eric Fernandez
1 parent daa9c2101e

cambio condicionn edit cantidad

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
src/js/controller.js
... ... @@ -799,7 +799,7 @@ angular.module('focaCrearFactura').controller('facturaController', [
799 799 }
800 800  
801 801 $scope.cambioEdit = function (articulo, propiedad) {
802   - if (propiedad === 'cantidad' && articulo.SUR !== 0) {
  802 + if (propiedad === 'cantidad' && articulo.SUR == 0) {
803 803 articulo.editCantidad = true;
804 804 }
805 805 };
src/views/factura.html
... ... @@ -153,7 +153,7 @@
153 153 </div>
154 154 <!-- MOBILE -->
155 155 <div class="row d-sm-none">
156   - <div class="col p-0 m-2 mb-5">
  156 + <div class="col p-0 m-2 mb-5">
157 157 <table class="table table-sm table-striped tabla-articulo">
158 158 <thead>
159 159 <tr class="d-flex">