Commit 9256dd0f40b6b2283f9e533ccc939dd76939d9a9
1 parent
6a2e1afce4
Exists in
master
refactor guardar seguimiento cobranza
Showing
1 changed file
with
4 additions
and
10 deletions
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 = []; |