Commit 3c6f16793e45d038add6cc599871e92ff3e3b959
1 parent
46ee457534
Exists in
master
- Agregué dos botones vacíos para completar la grilla.
- Modifiqué para que no muestre el ícono si no hay texto. - Agregué Nº.
Showing
2 changed files
with
8 additions
and
3 deletions
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> |