Commit fff86d0098846bb7dd0bcd24b5faae35d2b51384

Authored by Pablo Marco del Pont
Exists in master

Merge branch 'master' into 'master'

Master

See merge request modulos-npm/foca-crear-nota-pedido!16
src/js/controller.js
... ... @@ -108,7 +108,7 @@ angular.module('focaCrearNotaPedido')
108 108 $scope.seleccionarArticulo = function() {
109 109 if (idLista === undefined) {
110 110 focaModalService.alert(
111   - 'primero seleccione una lista de precio y condicion');
  111 + 'Primero seleccione una lista de precio y condicion');
112 112 return;
113 113 }
114 114 var modalInstance = $uibModal.open(
... ... @@ -317,7 +317,7 @@ angular.module('focaCrearNotaPedido')
317 317 $scope.notaPedido.flete = '0';
318 318 $scope.notaPedido.bomba = '0';
319 319 $scope.notaPedido.precioCondicion = '';
320   - $scope.articulosTabla = [];
  320 + $scope.articulosTabla = [];
321 321 $scope.notaPedido.vendedor.nombre = '';
322 322 $scope.notaPedido.cliente = {nombre: ''};
323 323 $scope.notaPedido.domicilio = {dom: ''};
... ... @@ -327,7 +327,7 @@ angular.module('focaCrearNotaPedido')
327 327 $scope.articuloACargar = {};
328 328 $scope.cargando = true;
329 329 };
330   - $scope.selectFocus = function ($event) {
  330 + $scope.selectFocus = function($event) {
331 331 $event.target.select();
332 332 };
333 333 }
src/views/nota-pedido.html
... ... @@ -34,6 +34,7 @@
34 34 readonly="true"
35 35 ng-click="seleccionarCliente()"
36 36 ng-required="true"
  37 + foca-focus="true"
37 38 >
38 39 <span class="input-group-append">
39 40 <button type="button" class="btn btn-default" ng-click="seleccionarCliente()">
... ... @@ -216,7 +217,8 @@
216 217 class="form-control"
217 218 readonly
218 219 ng-click="seleccionarArticulo()"
219   - foca-focus="cargando"></td>
  220 + >
  221 + </td>
220 222 <td></td>
221 223 <td></td>
222 224 <td></td>