Commit cbc067a4011b5d35ac67b6184c5838131d8b865b
1 parent
5860b1ef94
Exists in
master
Cambios según code review.
Showing
1 changed file
with
22 additions
and
8 deletions
Show diff stats
src/views/nota-pedido.html
... | ... | @@ -71,7 +71,11 @@ |
71 | 71 | aria-hidden="true" |
72 | 72 | > |
73 | 73 | </i> |
74 | - <i class="fa fa-chevron-up" ng-show="show" aria-hidden="true"></i> | |
74 | + <i | |
75 | + class="fa fa-chevron-up" | |
76 | + ng-show="show" | |
77 | + aria-hidden="true"> | |
78 | + </i> | |
75 | 79 | </button> |
76 | 80 | </th> |
77 | 81 | </tr> |
... | ... | @@ -92,7 +96,7 @@ |
92 | 96 | readonly></td> |
93 | 97 | <td><input |
94 | 98 | class="form-control" |
95 | - ng-value="articuloACargar.precio | currency:'$'" | |
99 | + ng-value="articuloACargar.precio | currency: '$'" | |
96 | 100 | readonly></td> |
97 | 101 | <td><input |
98 | 102 | class="form-control" |
... | ... | @@ -104,7 +108,7 @@ |
104 | 108 | ng-keypress="agregarATabla($event.keyCode)"></td> |
105 | 109 | <td><input |
106 | 110 | class="form-control" |
107 | - ng-value="getSubTotal() | currency:'$'" | |
111 | + ng-value="getSubTotal() | currency: '$'" | |
108 | 112 | readonly></td> |
109 | 113 | <td class="text-center"><button |
110 | 114 | class="btn btn-outline-secondary btn-sm" |
... | ... | @@ -112,11 +116,14 @@ |
112 | 116 | <i class="fa fa-save"></i> |
113 | 117 | </button></td> |
114 | 118 | </tr> |
115 | - <tr ng-repeat="(key, articulo) in articulosTabla" ng-show="show || key == 0"> | |
119 | + <tr | |
120 | + ng-repeat="(key, articulo) in articulosTabla" | |
121 | + ng-show="show || key == 0" | |
122 | + > | |
116 | 123 | <td ng-bind="articulo.sector"></td> |
117 | 124 | <td ng-bind="articulo.codigo"></td> |
118 | 125 | <td ng-bind="articulo.descripcion"></td> |
119 | - <td ng-bind="articulo.precio | currency:'$'"></td> | |
126 | + <td ng-bind="articulo.precio | currency: '$'"></td> | |
120 | 127 | <td><input |
121 | 128 | ng-show="articulo.edit" |
122 | 129 | ng-model="articulo.cantidad" |
... | ... | @@ -134,9 +141,14 @@ |
134 | 141 | ng-bind="articulo.cantidad"> |
135 | 142 | </i> |
136 | 143 | </td> |
137 | - <td ng-bind="(articulo.precio * articulo.cantidad) | currency: '$'"></td> | |
144 | + <td | |
145 | + ng-bind="(articulo.precio * articulo.cantidad) | currency: '$'"> | |
146 | + </td> | |
138 | 147 | <td class="text-center"> |
139 | - <button class="btn btn-outline-secondary btn-sm" ng-click="quitarArticulo(key)"> | |
148 | + <button | |
149 | + class="btn btn-outline-secondary btn-sm" | |
150 | + ng-click="quitarArticulo(key)" | |
151 | + > | |
140 | 152 | <i class="fa fa-trash"></i> |
141 | 153 | </button> |
142 | 154 | </td> |
... | ... | @@ -159,7 +171,9 @@ |
159 | 171 | <a ng-bind="articulosTabla.length"></a> |
160 | 172 | </td> |
161 | 173 | <td class="text-right table-celda-total"><h3>Total:</h3></td> |
162 | - <td class="table-celda-total text-right" colspan="1"><h3>{{getTotal() | currency:'$'}}</h3></td> | |
174 | + <td class="table-celda-total text-right" colspan="1"> | |
175 | + <h3>{{getTotal() | currency: '$'}}</h3> | |
176 | + </td> | |
163 | 177 | <td colspan="2"></td> |
164 | 178 | </tr> |
165 | 179 | </tfoot> |