Commit 7c5cecaf75c155ff27031f2175003acfbc7faa4c

Authored by Jose Pinto
1 parent a18e70eeb5
Exists in master and in 1 other branch develop

ok mail cliente

Showing 1 changed file with 2 additions and 3 deletions   Show diff stats
src/js/controller.js
... ... @@ -150,17 +150,16 @@ angular.module('focaModalFactura')
150 150 };
151 151  
152 152 $scope.enviarMail = function(factura) {
  153 + console.log(factura);
153 154 focaModalService.mail(
154 155 {
155 156 titulo: 'Enviar comprobante',
156   - //TODO: CONFIGURAR DESCARGA
157 157 descarga: {
158 158 nombre: factura.numeroFactura + '.pdf',
159 159 url: '/mail/comprobante/descargar',
160 160 },
161 161 envio: {
162   - //TODO: TOMAR EMAIL DEL CLIENTE
163   - mailCliente: 'jpinto@focasoftware.com',
  162 + mailCliente: factura.cliente.MAIL,
164 163 url: '/mail/comprobante'
165 164 },
166 165 options: {