From d96c906ed8b0f3ab4a3fb87714fa16b7391f60cc Mon Sep 17 00:00:00 2001 From: Pablo Marco del Pont Date: Tue, 13 Nov 2018 12:29:39 -0300 Subject: [PATCH] =?UTF-8?q?Cambio=20en=20n=C3=BAmero=20de=20comprobante=20?= =?UTF-8?q?de=205-8=20a=204-8=20d=C3=ADgitos.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/app.js b/src/js/app.js index cd9b38e..2f4fc4b 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -1,7 +1,7 @@ angular.module('focaFiltros', []) .filter('comprobante', function() { return function(valores) { - return (Array(5).join('0') + valores[0]).slice(-5) + '-' + + return (Array(4).join('0') + valores[0]).slice(-4) + '-' + (Array(8).join('0') + valores[1]).slice(-8); }; }); -- 1.9.1