Commit f810bf52d612d90a1b2eb55c25a0846e443e8d81
1 parent
cc52578831
Exists in
master
renombrado nombre precioUnitario para mejorar bd
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/js/controller.js
| 1 | 1 | angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 2 | 2 | [ |
| 3 | 3 | '$scope', '$uibModal', '$location', '$filter', 'crearNotaPedidoService', |
| 4 | - 'focaModalService', 'focaSeguimientoService', 'notaPedidoBusinessService', '$rootScope', | |
| 4 | + 'focaModalService', 'focaSeguimientoService', 'notaPedidoBusinessService', | |
| 5 | 5 | function( |
| 6 | 6 | $scope, $uibModal, $location, $filter, crearNotaPedidoService, focaModalService, |
| 7 | - focaSeguimientoService, notaPedidoBusinessService, $rootScope | |
| 7 | + focaSeguimientoService, notaPedidoBusinessService | |
| 8 | 8 | ) { |
| 9 | 9 | $scope.botonera = [ |
| 10 | 10 | {texto: 'Vendedor', accion: function() {$scope.seleccionarVendedor();}}, |
| ... | ... | @@ -245,7 +245,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 245 | 245 | item: $scope.articulosTabla.length + 1, |
| 246 | 246 | nombre: producto.descripcion, |
| 247 | 247 | precio: parseFloat(producto.precio.toFixed(4)), |
| 248 | - costoUnitario: producto.costo, | |
| 248 | + precioUnitario: producto.costo, | |
| 249 | 249 | editCantidad: false, |
| 250 | 250 | editPrecio: false |
| 251 | 251 | }; |