Commit d96c906ed8b0f3ab4a3fb87714fa16b7391f60cc

Authored by Pablo Marco del Pont
1 parent 09cbdfcc8b
Exists in master

Cambio en número de comprobante de 5-8 a 4-8 dígitos.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
1 angular.module('focaFiltros', []) 1 angular.module('focaFiltros', [])
2 .filter('comprobante', function() { 2 .filter('comprobante', function() {
3 return function(valores) { 3 return function(valores) {
4 return (Array(5).join('0') + valores[0]).slice(-5) + '-' + 4 return (Array(4).join('0') + valores[0]).slice(-4) + '-' +
5 (Array(8).join('0') + valores[1]).slice(-8); 5 (Array(8).join('0') + valores[1]).slice(-8);
6 }; 6 };
7 }); 7 });
8 8