Commit d6ceaf88b89ad0d2491b314b15b5cd2e0cd51161
Exists in
master
Merge branch 'master' into 'master'
Master (pmarco) See merge request modulos-npm/foca-crear-nota-pedido!28
Showing
2 changed files
Show diff stats
src/js/controller.js
... | ... | @@ -13,7 +13,9 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
13 | 13 | texto: 'Precios y condiciones', |
14 | 14 | accion: function() {$scope.abrirModalListaPrecio();}}, |
15 | 15 | {texto: 'Flete', accion: function() {$scope.abrirModalFlete();}}, |
16 | - {texto: 'Totales', accion: function() {}} | |
16 | + {texto: 'Totales', accion: function() {}}, | |
17 | + {texto: '', accion: function() {}}, | |
18 | + {texto: '', accion: function() {}} | |
17 | 19 | ]; |
18 | 20 | |
19 | 21 | $scope.show = false; |
src/views/nota-pedido.html
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | <div class="col-6 text-center"> |
12 | 12 | <div class="h2">NOTA DE PEDIDO</div> |
13 | 13 | </div> |
14 | - <div class="col-3 text-right">{{puntoVenta}}-{{comprobante}}</div> | |
14 | + <div class="col-3 text-right">Nº {{puntoVenta}}-{{comprobante}}</div> | |
15 | 15 | </div> |
16 | 16 | <div class="row"> |
17 | 17 | <div class="col-auto" ng-repeat="cab in cabecera"> |
... | ... | @@ -30,7 +30,10 @@ |
30 | 30 | class="btn btn-default btn-block btn-xs text-left py-2" |
31 | 31 | ng-click="boton.accion()" |
32 | 32 | > |
33 | - <i class="fa fa-arrow-circle-right"></i> | |
33 | + <i | |
34 | + class="fa fa-arrow-circle-right" | |
35 | + ng-show="boton.texto != ''" | |
36 | + ></i> | |
34 | 37 | |
35 | 38 | {{boton.texto}} |
36 | 39 | </button> |