Commit 097732e41330cb98456572e6d0ad1443a1a70ec6

Authored by Jose Pinto
1 parent 59681a9dab
Exists in master

espacios

Showing 2 changed files with 4 additions and 6 deletions   Show diff stats
... ... @@ -3,4 +3,4 @@
3 3 package-lock\.json
4 4 /src/etc/develop.js
5 5 tmp/
6   -debug.log
7 6 \ No newline at end of file
  7 +debug.log
src/js/controller.js
... ... @@ -54,7 +54,6 @@ angular.module('focaCrearCobranza') .controller('cobranzaController',
54 54  
55 55 function init() {
56 56 $scope.$broadcast('cleanCabecera');
57   -
58 57 $scope.cobranza = {
59 58 fecha: new Date(),
60 59 cotizacion: {},
... ... @@ -63,7 +62,6 @@ angular.module('focaCrearCobranza') .controller('cobranzaController',
63 62 cliente: {},
64 63 cobrador: {}
65 64 };
66   -
67 65 if (APP === 'cobranza') {
68 66 focaCrearCobranzaService.getCobradorById($scope.idCobrador).then(
69 67 function(res) {
... ... @@ -182,10 +180,10 @@ angular.module('focaCrearCobranza') .controller('cobranzaController',
182 180 };
183 181 cuerpos.push(cuerpoCobros);
184 182  
185   - if($scope.cobranza.cobros[j].observacion)
  183 + if ($scope.cobranza.cobros[j].observacion)
186 184 observacion = $scope.cobranza.cobros[j].observacion;
187 185  
188   - if($scope.cobranza.cobros[j].banco) {
  186 + if ($scope.cobranza.cobros[j].banco) {
189 187 var cheque = {
190 188 BCO: $scope.cobranza.cobros[j].banco.ID,
191 189 NUM: $scope.comprobante,
... ... @@ -393,7 +391,7 @@ angular.module('focaCrearCobranza') .controller('cobranzaController',
393 391 };
394 392  
395 393 $scope.seleccionarFactura = function() {
396   - if(!$scope.cobranza.cliente.COD) {
  394 + if (!$scope.cobranza.cliente.COD) {
397 395 focaModalService.alert('Seleccione primero un cliente');
398 396 return;
399 397 }