Commit c29a9a6525995f84134ec24830e0e7af5287fb71

Authored by Jose Pinto
1 parent aeef216e5d
Exists in master

descripcion correcta, espacios ok

Showing 2 changed files with 4 additions and 4 deletions   Show diff stats
1 1 {
2 2 "name": "foca-estado-cisternas",
3 3 "version": "0.0.1",
4   - "description": "Abm de vehiculo",
  4 + "description": "Estado de cisternas",
5 5 "main": "index.html",
6 6 "scripts": {
7 7 "test": "echo \"Error: no test specified\" && exit 1",
src/js/controller.js
... ... @@ -28,7 +28,7 @@ angular.module('focaEstadoCisternas')
28 28 focaBotoneraLateralService.showGuardar(false);
29 29  
30 30 $timeout(function() {
31   - $scope.$broadcast('addCabecera',{
  31 + $scope.$broadcast('addCabecera', {
32 32 label: 'Fecha:',
33 33 valor: $scope.fecha.toLocaleDateString()
34 34 });
... ... @@ -58,7 +58,7 @@ angular.module('focaEstadoCisternas')
58 58 };
59 59  
60 60 $scope.seleccionarVehiculo = function() {
61   - if(!$scope.idTransportista){
  61 + if(!$scope.idTransportista) {
62 62 focaModalService.alert('Primero seleccione un transportista');
63 63 return;
64 64 }
... ... @@ -84,7 +84,7 @@ angular.module('focaEstadoCisternas')
84 84  
85 85 $scope.seleccionarFecha = function() {
86 86 focaModalService.modalFecha('Fecha').then(function(fecha) {
87   - $scope.$broadcast('addCabecera',{
  87 + $scope.$broadcast('addCabecera', {
88 88 label: 'Fecha:',
89 89 valor: fecha.toLocaleDateString()
90 90 });