Commit 6ddbd6a06610b244729fe448fc9cd6e3b3bc0b1b
Exists in
master
Merge branch 'master' into 'master'
incorporación titulo como transportista See merge request modulos-npm/foca-modal-proveedor!10
Showing
2 changed files
Show diff stats
src/js/controller.js
... | ... | @@ -4,7 +4,8 @@ angular.module('focaModalProveedor') |
4 | 4 | '$scope', |
5 | 5 | '$uibModalInstance', |
6 | 6 | 'focaModalProveedorService', |
7 | - function ($filter, $scope, $uibModalInstance, focaModalProveedorService) { | |
7 | + 'transportista', | |
8 | + function ($filter, $scope, $uibModalInstance, focaModalProveedorService, transportista) { | |
8 | 9 | |
9 | 10 | $scope.filters = ''; |
10 | 11 | $scope.primerBusqueda = false; |
... | ... | @@ -14,6 +15,7 @@ angular.module('focaModalProveedor') |
14 | 15 | $scope.filteredProveedores = []; |
15 | 16 | $scope.currentPageProveedores = []; |
16 | 17 | $scope.selectedProveedores = -1; |
18 | + $scope.transportista = transportista | false; | |
17 | 19 | |
18 | 20 | $scope.busquedaPress = function(key) { |
19 | 21 | if (key === 13) { |
src/views/modal-proveedor.html
1 | 1 | <div class="modal-header py-1"> |
2 | - <h5 class="modal-title">Búsqueda de Proveedor</h5> | |
2 | + <h5 class="modal-title" ng-hide="transportista">Búsqueda de Proveedor</h5> | |
3 | + <h5 class="modal-title" ng-show="transportista">Búsqueda de Transportista</h5> | |
3 | 4 | </div> |
4 | 5 | <div class="modal-body" id="modal-body"> |
5 | 6 | <div class="input-group"> |