Commit fafcb1cb7cf4447fd71dc13621d32ac6f5cf3d77
Exists in
master
Merge branch 'master' into 'master'
Master(efernandez) See merge request !40
Showing
1 changed file
Show diff stats
src/js/controller.js
... | ... | @@ -230,23 +230,17 @@ angular.module('focaCrearCobranza') .controller('cobranzaController', |
230 | 230 | focaModalService.alert('Cobranza guardada con éxito'); |
231 | 231 | |
232 | 232 | focaSeguimientoService.guardarPosicion( |
233 | - result.data.numero, | |
234 | 233 | 'Cobranza', |
235 | - 'Nº: ' + $filter('comprobante')([ | |
236 | - result.data.sucursal, | |
237 | - result.data.numero | |
238 | - ]) + '<br/>' + | |
239 | - 'Vendedor: ' + $scope.cobranza.cobrador.NomVen + '<br/>' + | |
240 | - 'Total: ' + $filter('currency')($scope.getTotalCobrado()), | |
241 | - result.data.sucursal | |
234 | + result.data, | |
235 | + '' | |
242 | 236 | ); |
243 | - | |
237 | + //TODO: si esta en mobile no perder el cobrador | |
244 | 238 | $scope.cobranza = { |
245 | 239 | fecha: new Date() |
246 | 240 | }; |
247 | 241 | setearMonedaPorDefecto(); |
248 | 242 | obtenerNumeroComprobante(); |
249 | - | |
243 | + //TODO: si esta en mobile no perder el cobrador | |
250 | 244 | $scope.$broadcast('cleanCabecera'); |
251 | 245 | $scope.fecha = new Date(); |
252 | 246 | $scope.facturaTabla = []; |