Commit 178d65062f4bf1abccf712a6fd01d3e432b02003
1 parent
e693f0eff5
Exists in
master
and in
2 other branches
arreglo de checkbox
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -1110,7 +1110,6 @@ angular.module('focaCrearRemito').controller('remitoController', |
1110 | 1110 | |
1111 | 1111 | function setearRemito(remito) { |
1112 | 1112 | //añado cabeceras |
1113 | - console.log(remito); | |
1114 | 1113 | var esAbierto = remito.hojaRuta ? |
1115 | 1114 | (remito.hojaRuta.abierta === '1') : false; |
1116 | 1115 | if (remito.estado !== 5 && remito.id && !esAbierto) { |
... | ... | @@ -1282,12 +1281,16 @@ angular.module('focaCrearRemito').controller('remitoController', |
1282 | 1281 | }, |
1283 | 1282 | descargaSinValorizar: { |
1284 | 1283 | nombre: numeroRemito + '.pdf', |
1285 | - url: '/remito/comprobanteSV', | |
1284 | + url: '/remito/comprobante-sin-valorizar', | |
1286 | 1285 | }, |
1287 | 1286 | envio: { |
1288 | 1287 | mailCliente: cliente.MAIL, |
1289 | 1288 | url: '/remito/mail', |
1290 | 1289 | }, |
1290 | + envioSinValorizar:{ | |
1291 | + mailCliente: cliente.MAIL, | |
1292 | + url: '/remito/mail-sin-valorizar' | |
1293 | + }, | |
1291 | 1294 | options: { |
1292 | 1295 | idRemito: id |
1293 | 1296 | } |