Commit cfb11f57b42c773632238e6c5eb9d2728e80ea90
1 parent
9be79e8a24
Exists in
master
console para debug
Showing
1 changed file
with
12 additions
and
0 deletions
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', |