Commit daec8d685c1371c8e0d1fd650ce561bb5fa006d6
1 parent
bf0b86fcf9
Exists in
master
Arreglo de espacio en if, else.
Showing
1 changed file
with
2 additions
and
2 deletions
 
Show diff stats
src/js/controller.js
| ... | ... | @@ -346,7 +346,7 @@ angular.module('focaCrearHojaRuta') .controller('hojaRutaCtrl', | 
| 346 | 346 | focaModalService | 
| 347 | 347 | .confirm('Si cambia la fecha se perderán los datos actuales') | 
| 348 | 348 | .then(function(data) { | 
| 349 | - if(data){ | |
| 349 | + if(data) { | |
| 350 | 350 | $scope.hojaRuta.vehiculo.id = undefined; | 
| 351 | 351 | $scope.hojaRuta.tarifario.costo = null; | 
| 352 | 352 | $scope.hojaRuta.transportista = {}; | 
| ... | ... | @@ -358,7 +358,7 @@ angular.module('focaCrearHojaRuta') .controller('hojaRutaCtrl', | 
| 358 | 358 | return ; | 
| 359 | 359 | }); | 
| 360 | 360 | } | 
| 361 | - }else{ | |
| 361 | + } else { | |
| 362 | 362 | elegirFecha(); | 
| 363 | 363 | } | 
| 364 | 364 | } |