From f810bf52d612d90a1b2eb55c25a0846e443e8d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s?= Date: Thu, 8 Nov 2018 14:38:33 -0300 Subject: [PATCH] renombrado nombre precioUnitario para mejorar bd --- src/js/controller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/controller.js b/src/js/controller.js index e8295cd..e8197a9 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -1,10 +1,10 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', [ '$scope', '$uibModal', '$location', '$filter', 'crearNotaPedidoService', - 'focaModalService', 'focaSeguimientoService', 'notaPedidoBusinessService', '$rootScope', + 'focaModalService', 'focaSeguimientoService', 'notaPedidoBusinessService', function( $scope, $uibModal, $location, $filter, crearNotaPedidoService, focaModalService, - focaSeguimientoService, notaPedidoBusinessService, $rootScope + focaSeguimientoService, notaPedidoBusinessService ) { $scope.botonera = [ {texto: 'Vendedor', accion: function() {$scope.seleccionarVendedor();}}, @@ -245,7 +245,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', item: $scope.articulosTabla.length + 1, nombre: producto.descripcion, precio: parseFloat(producto.precio.toFixed(4)), - costoUnitario: producto.costo, + precioUnitario: producto.costo, editCantidad: false, editPrecio: false }; -- 1.9.1