Commit 25cb79b9b6e7e3c309be71aeb6489ecf2bf9eb9f

Authored by Nicolás Guarnieri
1 parent 9d9072f420
Exists in master

agregar cuotas al COM

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/js/controller.js
... ... @@ -78,7 +78,8 @@ angular.module('focaCrearCobranza') .controller('cobranzaController',
78 78 NCO: $scope.comprobante,
79 79 LOP: 'L',
80 80 TIL: $scope.facturaTabla[i].TCO,
81   - COM: $scope.facturaTabla[i].numeroFactura,
  81 + COM: $scope.facturaTabla[i].numeroFactura + '-' +
  82 + $scope.rellenar($scope.facturaTabla[i].NCU,2),
82 83 FEC: $scope.fecha.toISOString().slice(0, 19).replace('T', ' '),
83 84 IMP: $scope.facturaTabla[i].IPA,
84 85 RES: 0,//caja de tesorería