Commit df5fab47a8820b832005a423673ecd600f739c64
Exists in
master
Merge branch 'master' into 'master'
envio a modal idTransportista, nuevas imgs botonera See merge request !9
Showing
2 changed files
Show diff stats
src/js/controller.js
| ... | ... | @@ -243,9 +243,7 @@ angular.module('focaCrearHojaRuta') .controller('hojaRutaCtrl', |
| 243 | 243 | controller: 'focaModalVehiculoController', |
| 244 | 244 | size: 'lg', |
| 245 | 245 | resolve: { |
| 246 | - idTransportista: function() { | |
| 247 | - return -1; | |
| 248 | - } | |
| 246 | + idTransportista: $scope.hojaRuta.transportista.codigo | |
| 249 | 247 | } |
| 250 | 248 | } |
| 251 | 249 | ); |
src/js/service.js
| ... | ... | @@ -59,23 +59,23 @@ angular.module('focaCrearHojaRuta') |
| 59 | 59 | return [ |
| 60 | 60 | { |
| 61 | 61 | label: 'Transportista', |
| 62 | - image: 'cliente.png' | |
| 62 | + image: 'transportista.png' | |
| 63 | 63 | }, |
| 64 | 64 | { |
| 65 | 65 | label: 'Chofer', |
| 66 | - image: 'vendedor.png' | |
| 66 | + image: 'chofer.png' | |
| 67 | 67 | }, |
| 68 | 68 | { |
| 69 | 69 | label: 'Vehiculo', |
| 70 | - image: 'flete.png' | |
| 70 | + image: 'vehiculos.png' | |
| 71 | 71 | }, |
| 72 | 72 | { |
| 73 | 73 | label: 'Tarifario', |
| 74 | - image: 'precios-condiciones.png' | |
| 74 | + image: 'tarifario.png' | |
| 75 | 75 | }, |
| 76 | 76 | { |
| 77 | 77 | label: 'Remitos', |
| 78 | - image: 'precios-condiciones.png' | |
| 78 | + image: 'remito.png' | |
| 79 | 79 | } |
| 80 | 80 | ]; |
| 81 | 81 | } |