Commit 92cd7d0d0273258d6a07ea2d78b55a2015bc0a71
1 parent
05fc8709be
Exists in
master
mejoras en tabla de articulo para poder ser overfloweado con css
Showing
1 changed file
with
12 additions
and
13 deletions
Show diff stats
src/views/nota-pedido.html
... | ... | @@ -47,36 +47,35 @@ |
47 | 47 | <div class="row"> |
48 | 48 | <div class="col-md-10 col-lg-8 offset-md-1 offset-lg-2"> |
49 | 49 | <div class="row grilla-articulos align-items-end"> |
50 | - <table class="table table-striped table-sm table-dark"> | |
50 | + <table class="table table-striped table-sm table-dark tabla-articulos"> | |
51 | 51 | <thead> |
52 | 52 | <tr> |
53 | 53 | <th>Código</th> |
54 | 54 | <th>Descripción</th> |
55 | - <th>Cantidad</th> | |
56 | - <th>Precio Unitario</th> | |
57 | - <th>SubTotal</th> | |
58 | - <th> | |
55 | + <th class="text-right">Cantidad</th> | |
56 | + <th class="text-right">Precio Unitario</th> | |
57 | + <th class="text-right">SubTotal</th> | |
58 | + <th class="text-right"> | |
59 | 59 | <button |
60 | 60 | class="btn btn-outline-secondary selectable" |
61 | - style="float: right;" | |
62 | 61 | ng-click="show = !show; masMenos()" |
63 | 62 | > |
64 | 63 | <i |
65 | 64 | class="fa fa-chevron-down" |
66 | - ng-hide="show" | |
65 | + ng-show="show" | |
67 | 66 | aria-hidden="true" |
68 | 67 | > |
69 | 68 | </i> |
70 | 69 | <i |
71 | 70 | class="fa fa-chevron-up" |
72 | - ng-show="show" | |
71 | + ng-hide="show" | |
73 | 72 | aria-hidden="true"> |
74 | 73 | </i> |
75 | 74 | </button> |
76 | 75 | </th> |
77 | 76 | </tr> |
78 | 77 | </thead> |
79 | - <tbody> | |
78 | + <tbody class="tabla-articulos-body"> | |
80 | 79 | <tr ng-show="!cargando"> |
81 | 80 | <td><input |
82 | 81 | class="form-control" |
... | ... | @@ -102,7 +101,7 @@ |
102 | 101 | class="form-control" |
103 | 102 | ng-value="getSubTotal() | currency: '$'" |
104 | 103 | readonly></td> |
105 | - <td class="text-center"><button | |
104 | + <td class="text-right"><button | |
106 | 105 | class="btn btn-outline-secondary btn-sm" |
107 | 106 | ng-click="agregarATabla(13)"> |
108 | 107 | <i class="fa fa-save"></i> |
... | ... | @@ -136,7 +135,7 @@ |
136 | 135 | class="text-right" |
137 | 136 | ng-bind="(articulo.precio * articulo.cantidad) | currency: '$'"> |
138 | 137 | </td> |
139 | - <td class="text-center"> | |
138 | + <td class="text-right"> | |
140 | 139 | <button |
141 | 140 | class="btn btn-outline-secondary btn-sm" |
142 | 141 | ng-click="quitarArticulo(key)" |
... | ... | @@ -145,6 +144,8 @@ |
145 | 144 | </button> |
146 | 145 | </td> |
147 | 146 | </tr> |
147 | + </tbody> | |
148 | + <tfoot> | |
148 | 149 | <tr ng-show="cargando"> |
149 | 150 | <td colspan="6"> |
150 | 151 | <input |
... | ... | @@ -155,8 +156,6 @@ |
155 | 156 | /> |
156 | 157 | </td> |
157 | 158 | </tr> |
158 | - </tbody> | |
159 | - <tfoot> | |
160 | 159 | <tr class=""> |
161 | 160 | <td colspan="3"> |
162 | 161 | <strong>Cantidad Items:</strong> |