Commit 5c8dac9d39813607b9a53cdcdbe707b5bc51d481
1 parent
9a6a81b825
Exists in
master
Cambio en nombre de variable idCliente.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -17,7 +17,7 @@ angular.module('focaModalPrecioCondicion') |
17 | 17 | $scope.plazos = [ |
18 | 18 | { |
19 | 19 | dias: 0, |
20 | - id_cliente: idCliente, | |
20 | + idCliente: idCliente, | |
21 | 21 | activo: true |
22 | 22 | } |
23 | 23 | ]; |
... | ... | @@ -110,7 +110,7 @@ angular.module('focaModalPrecioCondicion') |
110 | 110 | return; |
111 | 111 | } |
112 | 112 | } |
113 | - $scope.plazos.unshift({ dias: 0, id_cliente: idCliente, activo: true }); | |
113 | + $scope.plazos.unshift({ dias: 0, idCliente: idCliente, activo: true }); | |
114 | 114 | }; |
115 | 115 | $scope.deletePlazo = function (index) { |
116 | 116 | $scope.plazos[index].activo = false; |