Commit 386044763bc7e2b4fd0e17b5624f64756970c186

Authored by Pablo Marco del Pont
1 parent 547bcae879
Exists in master

Cambio en la estructura al crear nuevo objeto.

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
src/js/controller.js
... ... @@ -38,8 +38,9 @@ angular.module('focaAbmPreciosCondiciones')
38 38 id: 0,
39 39 codigo: '',
40 40 nombre: '',
41   - poseeAforadores: 0,
42   - imagen: ''
  41 + descripcion: '',
  42 + idListaPrecio: 0,
  43 + vigencia: new Date()
43 44 };
44 45 if(datos.data.id) {
45 46 $scope.precioCondicion = datos.data;