Commit 6523c2ded5a7b8e2913dc85a92709124ad7546b9

Authored by Pablo Marco del Pont
1 parent 5ec23981eb
Exists in master

Agregué llamado al modulo foca-seguimento.

Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
src/js/controller.js
1 1 angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl',
2 2 [
3 3 '$scope', '$uibModal', '$location', '$filter', 'crearNotaPedidoService',
4   - 'focaModalService',
  4 + 'focaModalService', 'focaSeguimientoService',
5 5 function(
6   - $scope, $uibModal, $location, $filter, crearNotaPedidoService, focaModalService
  6 + $scope, $uibModal, $location, $filter, crearNotaPedidoService, focaModalService,
  7 + focaSeguimientoService
7 8 ) {
8 9 $scope.botonera = [
9 10 {texto: 'Vendedor', accion: function() {$scope.seleccionarVendedor();}},
... ... @@ -108,6 +109,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl',
108 109 };
109 110 crearNotaPedidoService.crearNotaPedido(notaPedido).then(
110 111 function(data) {
  112 + focaSeguimientoService.guardarPosicion('crear nota pedido', '');
111 113 if($scope.notaPedido.flete === 1) {
112 114 var flete = {
113 115 idNotaPedido: data.data.id,