Commit da57b3d0494da69b6e2b2fc3c583a81feea71a4c
1 parent
91feb3b0e6
Exists in
master
no se usa
Showing
1 changed file
with
0 additions
and
18 deletions
Show diff stats
src/js/controllerCerrarVehiculo.js
| ... | ... | @@ -42,24 +42,6 @@ angular.module('focaLogisticaPedidoRuta') |
| 42 | 42 | } |
| 43 | 43 | ); |
| 44 | 44 | }; |
| 45 | - $scope.seleccionarChofer = function() { | |
| 46 | - var modalInstance = $uibModal.open( | |
| 47 | - { | |
| 48 | - ariaLabelledBy: 'Busqueda de Chofer', | |
| 49 | - templateUrl: 'modal-chofer.html', | |
| 50 | - controller: 'focaModalChoferController', | |
| 51 | - size: 'lg' | |
| 52 | - } | |
| 53 | - ); | |
| 54 | - | |
| 55 | - modalInstance.result.then( | |
| 56 | - function(chofer) { | |
| 57 | - $scope.chofer = chofer; | |
| 58 | - }, function() { | |
| 59 | - // funcion ejecutada cuando se cancela el modal | |
| 60 | - } | |
| 61 | - ); | |
| 62 | - }; | |
| 63 | 45 | $scope.eliminarRemitos = function() { |
| 64 | 46 | var remitosDel = $filter('filter')($scope.remitos, {checked: true}); |
| 65 | 47 | focaModalService.alert('¿Seguro que desea desasociar estos remitos del vehículo?') |