Commit ed3fe759008a22fbc4d017ba2b4a1d2b0c8dfee6
1 parent
7319d2a914
Exists in
master
Agregué Vendedor y Total al detalle de la posición.
Fix de paginador.
Showing
2 changed files
with
7 additions
and
4 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -182,7 +182,9 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
182 | 182 | 'Nº: ' + $filter('comprobante')([ |
183 | 183 | $scope.puntoVenta, |
184 | 184 | $scope.comprobante |
185 | - ]) | |
185 | + ]) + '<br/>' + | |
186 | + 'Vendedor: ' + $scope.notaPedido.vendedor.nombre + '<br/>' + | |
187 | + 'Total: ' + $filter('currency')($scope.getTotal()) | |
186 | 188 | ); |
187 | 189 | notaPedidoBusinessService.addArticulos($scope.articulosTabla, |
188 | 190 | data.data.id, $scope.notaPedido.cotizacion.VENDEDOR); |
... | ... | @@ -290,6 +292,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
290 | 292 | function(vendedor) { |
291 | 293 | addCabecera('Vendedor:', vendedor.NomVen); |
292 | 294 | $scope.notaPedido.vendedor.codigo = vendedor.CodVen; |
295 | + $scope.notaPedido.vendedor.nombre = vendedor.NomVen; | |
293 | 296 | }, function() { |
294 | 297 | |
295 | 298 | } |
src/views/foca-crear-nota-pedido-ficha-cliente.html
... | ... | @@ -46,7 +46,7 @@ |
46 | 46 | <nav> |
47 | 47 | <ul class="pagination justify-content-end"> |
48 | 48 | <li class="page-item" ng-class="{'disabled': currentPage == 1}"> |
49 | - <a class="page-link" href="#" ng-click="selectPage(currentPage - 1)"> | |
49 | + <a class="page-link" href="javascript:void();" ng-click="selectPage(currentPage - 1)"> | |
50 | 50 | <span aria-hidden="true">«</span> |
51 | 51 | <span class="sr-only">Anterior</span> |
52 | 52 | </a> |
... | ... | @@ -58,13 +58,13 @@ |
58 | 58 | > |
59 | 59 | <a |
60 | 60 | class="page-link" |
61 | - href="#" | |
61 | + href="javascript:void();" | |
62 | 62 | ng-click="selectPage(pagina)" |
63 | 63 | ng-bind="pagina" |
64 | 64 | ></a> |
65 | 65 | </li> |
66 | 66 | <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> |
67 | - <a class="page-link" href="#" ng-click="selectPage(currentPage + 1)"> | |
67 | + <a class="page-link" href="javascript:void();" ng-click="selectPage(currentPage + 1)"> | |
68 | 68 | <span aria-hidden="true">»</span> |
69 | 69 | <span class="sr-only">Siguiente</span> |
70 | 70 | </a> |