Commit 947ae4a5f2ef75328a446d7ba12d2ab8bd1af843
Exists in
master
Merge branch 'master' into 'master'
Master See merge request !10
Showing
1 changed file
Show diff stats
src/js/controller.js
| ... | ... | @@ -212,6 +212,18 @@ angular.module('focaCrearCobranza') .controller('cobranzaController', |
| 212 | 212 | focaCrearCobranzaService.guardarCobranza(cobranza).then(function(result) { |
| 213 | 213 | focaModalService.alert('Cobranza guardada con éxito'); |
| 214 | 214 | |
| 215 | + console.info({ | |
| 216 | + numero: result.data.numero, | |
| 217 | + actividad: 'Cobranza', | |
| 218 | + observaciones: 'Nº: ' + $filter('comprobante')([ | |
| 219 | + result.data.sucursal, | |
| 220 | + result.data.numero | |
| 221 | + ]) + '<br/>' + | |
| 222 | + 'Vendedor: ' + $scope.cobranza.cobrador.nombre + '<br/>' + | |
| 223 | + 'Total: ' + $filter('currency')($scope.getTotalCobrado()), | |
| 224 | + sucursal: result.data.sucursal | |
| 225 | + }); | |
| 226 | + | |
| 215 | 227 | focaSeguimientoService.guardarPosicion( |
| 216 | 228 | result.data.numero, |
| 217 | 229 | 'Cobranza', |