Commit 3c1c9a70b29a093dbadc3490e749886242be8747
Exists in
master
Merge branch 'master' into 'master'
Master(efernandez) See merge request !1
Showing
1 changed file
Show diff stats
src/js/controller.js
| ... | ... | @@ -285,6 +285,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 285 | 285 | } else { |
| 286 | 286 | $scope.idLista = -1; |
| 287 | 287 | } |
| 288 | + $scope.puntoVenta = rellenar(notaPedido.sucursal, 4); | |
| 288 | 289 | $scope.comprobante = rellenar(notaPedido.numeroNotaPedido, 8); |
| 289 | 290 | $scope.notaPedido = notaPedido; |
| 290 | 291 | $scope.notaPedido.moneda = notaPedido.cotizacion.moneda; |
| ... | ... | @@ -444,17 +445,6 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 444 | 445 | ); |
| 445 | 446 | }; |
| 446 | 447 | |
| 447 | - $scope.mostrarFichaCliente = function() { | |
| 448 | - $uibModal.open( | |
| 449 | - { | |
| 450 | - ariaLabelledBy: 'Datos del Cliente', | |
| 451 | - templateUrl: 'foca-crear-nota-pedido-ficha-cliente.html', | |
| 452 | - controller: 'focaCrearNotaPedidoFichaClienteController', | |
| 453 | - size: 'lg' | |
| 454 | - } | |
| 455 | - ); | |
| 456 | - }; | |
| 457 | - | |
| 458 | 448 | $scope.getTotal = function() { |
| 459 | 449 | var total = 0; |
| 460 | 450 | var arrayTempArticulos = $scope.articulosTabla; |