Commit 74a74006ef5b84c5593637adf1321b272f6f0781

Authored by Eric Fernandez
Exists in master

Merge branch 'master' of https://debo.suite.repo/modulos-npm/foca-crear-nota-pedido

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 };