Commit 8aad351866c0ac13bceecd170aaf3b9a23a5ca43
1 parent
3c9f322069
Exists in
master
Arreglo de escaciado.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/views/remito.html
1 | <div class="crear-nota-remito foca-crear row"> | 1 | <div class="crear-nota-remito foca-crear row"> |
2 | <foca-cabecera-facturador | 2 | <foca-cabecera-facturador |
3 | titulo="'Remito'" | 3 | titulo="'Remito'" |
4 | numero="puntoVenta + '-' + comprobante" | 4 | numero="puntoVenta + '-' + comprobante" |
5 | fecha="now" | 5 | fecha="now" |
6 | class="mb-0 col-lg-12" | 6 | class="mb-0 col-lg-12" |
7 | busqueda="seleccionarRemito" | 7 | busqueda="seleccionarRemito" |
8 | ></foca-cabecera-facturador> | 8 | ></foca-cabecera-facturador> |
9 | <div class="col-lg-12"> | 9 | <div class="col-lg-12"> |
10 | <div class="row mt-4"> | 10 | <div class="row mt-4"> |
11 | <div class="col-12 col-md-10 col-lg-10 border border-light rounded"> | 11 | <div class="col-12 col-md-10 col-lg-10 border border-light rounded"> |
12 | <div class="row p-1 botonera-secundaria px-5 py-2"> | 12 | <div class="row p-1 botonera-secundaria px-5 py-2"> |
13 | <div class="col-12"> | 13 | <div class="col-12"> |
14 | <foca-botonera-facturador botones="botonera" extra="4" class="row"></foca-botonera-facturador> | 14 | <foca-botonera-facturador botones="botonera" extra="4" class="row"></foca-botonera-facturador> |
15 | </div> | 15 | </div> |
16 | </div> | 16 | </div> |
17 | <!-- PC --> | 17 | <!-- PC --> |
18 | <div class="row grilla-articulo align-items-end d-none d-sm-flex"> | 18 | <div class="row grilla-articulo align-items-end d-none d-sm-flex"> |
19 | <table class="table tabla-articulo table-striped table-sm mb-0 rounded-bottom"> | 19 | <table class="table tabla-articulo table-striped table-sm mb-0 rounded-bottom"> |
20 | <thead> | 20 | <thead> |
21 | <tr class="d-flex"> | 21 | <tr class="d-flex"> |
22 | <th class="">#</th> | 22 | <th class="">#</th> |
23 | <th class="col">Código</th> | 23 | <th class="col">Código</th> |
24 | <th class="col-4">Descripción</th> | 24 | <th class="col-4">Descripción</th> |
25 | <th class="col text-right">Cantidad</th> | 25 | <th class="col text-right">Cantidad</th> |
26 | <th class="col text-right">Precio Unitario</th> | 26 | <th class="col text-right">Precio Unitario</th> |
27 | <th class="col text-right">SubTotal</th> | 27 | <th class="col text-right">SubTotal</th> |
28 | <th class="text-right"> | 28 | <th class="text-right"> |
29 | <button | 29 | <button |
30 | class="btn btn-outline-light selectable" | 30 | class="btn btn-outline-light selectable" |
31 | ng-click="show = !show; masMenos()" | 31 | ng-click="show = !show; masMenos()" |
32 | > | 32 | > |
33 | <i | 33 | <i |
34 | class="fa fa-chevron-down" | 34 | class="fa fa-chevron-down" |
35 | ng-show="show" | 35 | ng-show="show" |
36 | aria-hidden="true" | 36 | aria-hidden="true" |
37 | > | 37 | > |
38 | </i> | 38 | </i> |
39 | <i | 39 | <i |
40 | class="fa fa-chevron-up" | 40 | class="fa fa-chevron-up" |
41 | ng-hide="show" | 41 | ng-hide="show" |
42 | aria-hidden="true"> | 42 | aria-hidden="true"> |
43 | </i> | 43 | </i> |
44 | </button> | 44 | </button> |
45 | </th> | 45 | </th> |
46 | </tr> | 46 | </tr> |
47 | </thead> | 47 | </thead> |
48 | <tbody class="tabla-articulo-body"> | 48 | <tbody class="tabla-articulo-body"> |
49 | <tr | 49 | <tr |
50 | ng-repeat="(key, articulo) in remito.articulosRemito" | 50 | ng-repeat="(key, articulo) in remito.articulosRemito" |
51 | ng-show="show || key == (remito.articulosRemito.length - 1)" | 51 | ng-show="show || key == (remito.articulosRemito.length - 1)" |
52 | class="d-flex" | 52 | class="d-flex" |
53 | > | 53 | > |
54 | <td ng-bind="key + 1"></td> | 54 | <td ng-bind="key + 1"></td> |
55 | <td | 55 | <td |
56 | class="col" | 56 | class="col" |
57 | ng-bind="articulo.sector + '-' + articulo.codigo" | 57 | ng-bind="articulo.sector + '-' + articulo.codigo" |
58 | ></td> | 58 | ></td> |
59 | <td | 59 | <td |
60 | class="col-4" | 60 | class="col-4" |
61 | ng-bind="articulo.descripcion" | 61 | ng-bind="articulo.descripcion" |
62 | ></td> | 62 | ></td> |
63 | <td class="col text-right"> | 63 | <td class="col text-right"> |
64 | <input | 64 | <input |
65 | ng-show="articulo.editCantidad" | 65 | ng-show="articulo.editCantidad" |
66 | ng-model="tmpCantidad" | 66 | ng-model="tmpCantidad" |
67 | class="form-control" | 67 | class="form-control" |
68 | foca-tipo-input | 68 | foca-tipo-input |
69 | min="1" | 69 | min="1" |
70 | foca-focus="articulo.editCantidad" | 70 | foca-focus="articulo.editCantidad" |
71 | ng-keypress="editarArticulo($event.keyCode, articulo, tmpCantidad, tmpPrecio);" | 71 | ng-keypress="editarArticulo($event.keyCode, articulo, tmpCantidad, tmpPrecio);" |
72 | esc-key="cancelarEditar(articulo)" | 72 | esc-key="cancelarEditar(articulo)" |
73 | ng-focus="selectFocus($event); | 73 | ng-focus="selectFocus($event); |
74 | tmpCantidad = articulo.cantidad; | 74 | tmpCantidad = articulo.cantidad; |
75 | tmpPrecio = articulo.precio" | 75 | tmpPrecio = articulo.precio" |
76 | teclado-virtual | 76 | teclado-virtual |
77 | > | 77 | > |
78 | <i | 78 | <i |
79 | class="selectable" | 79 | class="selectable" |
80 | ng-click="cambioEdit(articulo, 'cantidad')" | 80 | ng-click="cambioEdit(articulo, 'cantidad')" |
81 | ng-hide="articulo.editCantidad" | 81 | ng-hide="articulo.editCantidad" |
82 | ng-bind="articulo.cantidad"> | 82 | ng-bind="articulo.cantidad"> |
83 | </i> | 83 | </i> |
84 | </td> | 84 | </td> |
85 | <td class="col text-right"> | 85 | <td class="col text-right"> |
86 | <input | 86 | <input |
87 | ng-show="articulo.editPrecio" | 87 | ng-show="articulo.editPrecio" |
88 | ng-model="tmpPrecio" | 88 | ng-model="tmpPrecio" |
89 | class="form-control" | 89 | class="form-control" |
90 | foca-tipo-input | 90 | foca-tipo-input |
91 | min="1" | 91 | min="1" |
92 | step="0.0001" | 92 | step="0.0001" |
93 | foca-focus="articulo.editPrecio" | 93 | foca-focus="articulo.editPrecio" |
94 | ng-keypress="editarArticulo($event.keyCode, articulo, tmpCantidad, tmpPrecio);" | 94 | ng-keypress="editarArticulo($event.keyCode, articulo, tmpCantidad, tmpPrecio);" |
95 | esc-key="cancelarEditar(articulo)" | 95 | esc-key="cancelarEditar(articulo)" |
96 | ng-focus="selectFocus($event); | 96 | ng-focus="selectFocus($event); |
97 | tmpCantidad = articulo.cantidad; | 97 | tmpCantidad = articulo.cantidad; |
98 | tmpPrecio = articulo.precio" | 98 | tmpPrecio = articulo.precio" |
99 | teclado-virtual | 99 | teclado-virtual |
100 | > | 100 | > |
101 | <i | 101 | <i |
102 | class="selectable" | 102 | class="selectable" |
103 | ng-click="cambioEdit(articulo, 'precio')" | 103 | ng-click="cambioEdit(articulo, 'precio')" |
104 | ng-hide="articulo.editPrecio" | 104 | ng-hide="articulo.editPrecio" |
105 | ng-bind="articulo.precio | number: 4"> | 105 | ng-bind="articulo.precio | number: 4"> |
106 | </i> | 106 | </i> |
107 | </td> | 107 | </td> |
108 | <td | 108 | <td |
109 | class="col text-right" | 109 | class="col text-right" |
110 | ng-bind="(articulo.precio * articulo.cantidad) | number: 2"> | 110 | ng-bind="(articulo.precio * articulo.cantidad) | number: 2"> |
111 | </td> | 111 | </td> |
112 | <td class="text-center"> | 112 | <td class="text-center"> |
113 | <button | 113 | <button |
114 | class="btn btn-outline-light" | 114 | class="btn btn-outline-light" |
115 | ng-click="quitarArticulo(key)" | 115 | ng-click="quitarArticulo(key)" |
116 | > | 116 | > |
117 | <i class="fa fa-trash"></i> | 117 | <i class="fa fa-trash"></i> |
118 | </button> | 118 | </button> |
119 | <button | 119 | <button |
120 | class="btn btn-outline-light" | 120 | class="btn btn-outline-light" |
121 | ng-click="editarArticulo(13, articulo)" | 121 | ng-click="editarArticulo(13, articulo)" |
122 | ng-show="articulo.editCantidad || articulo.editPrecio" | 122 | ng-show="articulo.editCantidad || articulo.editPrecio" |
123 | > | 123 | > |
124 | <i class="fa fa-save"></i> | 124 | <i class="fa fa-save"></i> |
125 | </button> | 125 | </button> |
126 | </td> | 126 | </td> |
127 | </tr> | 127 | </tr> |
128 | </tbody> | 128 | </tbody> |
129 | <tfoot> | 129 | <tfoot> |
130 | <tr ng-show="!cargando" class="d-flex"> | 130 | <tr ng-show="!cargando" class="d-flex"> |
131 | <td | 131 | <td |
132 | class="align-middle" | 132 | class="align-middle" |
133 | ng-bind="remito.articulosRemito.length + 1" | 133 | ng-bind="remito.articulosRemito.length + 1" |
134 | ></td> | 134 | ></td> |
135 | <td class="col"> | 135 | <td class="col"> |
136 | <input | 136 | <input |
137 | class="form-control" | 137 | class="form-control" |
138 | ng-model="articuloACargar.sectorCodigo" | 138 | ng-model="articuloACargar.sectorCodigo" |
139 | readonly | 139 | readonly |
140 | > | 140 | > |
141 | </td> | 141 | </td> |
142 | <td class="col-4 tabla-articulo-descripcion"> | 142 | <td class="col-4 tabla-articulo-descripcion"> |
143 | <input | 143 | <input |
144 | class="form-control" | 144 | class="form-control" |
145 | ng-model="articuloACargar.descripcion" | 145 | ng-model="articuloACargar.descripcion" |
146 | readonly | 146 | readonly |
147 | > | 147 | > |
148 | </td> | 148 | </td> |
149 | <td class="col text-right"> | 149 | <td class="col text-right"> |
150 | <input | 150 | <input |
151 | class="form-control" | 151 | class="form-control" |
152 | foca-tipo-input | 152 | foca-tipo-input |
153 | min="1" | 153 | min="1" |
154 | ng-model="articuloACargar.cantidad" | 154 | ng-model="articuloACargar.cantidad" |
155 | foca-focus="!cargando" | 155 | foca-focus="!cargando" |
156 | esc-key="resetFilter()" | 156 | esc-key="resetFilter()" |
157 | ng-keypress="agregarATabla($event.keyCode)" | 157 | ng-keypress="agregarATabla($event.keyCode)" |
158 | teclado-virtual | 158 | teclado-virtual |
159 | > | 159 | > |
160 | </td> | 160 | </td> |
161 | <td class="col text-right"> | 161 | <td class="col text-right"> |
162 | <input | 162 | <input |
163 | class="form-control" | 163 | class="form-control" |
164 | ng-model="articuloACargar.precio" | 164 | ng-model="articuloACargar.precio" |
165 | ng-show="idLista != -1" | 165 | ng-show="idLista != -1" |
166 | ng-keypress="agregarATabla($event.keyCode)" | 166 | ng-keypress="agregarATabla($event.keyCode)" |
167 | > | 167 | > |
168 | <input | 168 | <input |
169 | class="form-control" | 169 | class="form-control" |
170 | foca-tipo-input | 170 | foca-tipo-input |
171 | step="0.0001" | 171 | step="0.0001" |
172 | ng-model="articuloACargar.precio" | 172 | ng-model="articuloACargar.precio" |
173 | esc-key="resetFilter()" | 173 | esc-key="resetFilter()" |
174 | ng-keypress="agregarATabla($event.keyCode)" | 174 | ng-keypress="agregarATabla($event.keyCode)" |
175 | ng-show="idLista == -1" | 175 | ng-show="idLista == -1" |
176 | teclado-virtual | 176 | teclado-virtual |
177 | > | 177 | > |
178 | </td> | 178 | </td> |
179 | <td class="col text-right"> | 179 | <td class="col text-right"> |
180 | <input | 180 | <input |
181 | class="form-control" | 181 | class="form-control" |
182 | ng-value="getSubTotal() | number: 2" | 182 | ng-value="getSubTotal() | number: 2" |
183 | readonly | 183 | readonly |
184 | ></td> | 184 | ></td> |
185 | <td class="text-center align-middle"> | 185 | <td class="text-center align-middle"> |
186 | <button | 186 | <button |
187 | class="btn btn-outline-light" | 187 | class="btn btn-outline-light" |
188 | ng-click="agregarATabla(13)" | 188 | ng-click="agregarATabla(13)" |
189 | > | 189 | > |
190 | <i class="fa fa-save"></i> | 190 | <i class="fa fa-save"></i> |
191 | </button> | 191 | </button> |
192 | </td> | 192 | </td> |
193 | </tr> | 193 | </tr> |
194 | 194 | ||
195 | <tr class="d-flex"> | 195 | <tr class="d-flex"> |
196 | <td colspan="4" class="no-border-top"> | 196 | <td colspan="4" class="no-border-top"> |
197 | <strong>Items:</strong> | 197 | <strong>Items:</strong> |
198 | <a ng-bind="remito.articulosRemito.length"></a> | 198 | <a ng-bind="remito.articulosRemito.length"></a> |
199 | </td> | 199 | </td> |
200 | <td class="text-right ml-auto table-celda-total no-border-top"> | 200 | <td class="text-right ml-auto table-celda-total no-border-top"> |
201 | <h3>Total:</h3> | 201 | <h3>Total:</h3> |
202 | </td> | 202 | </td> |
203 | <td class="table-celda-total text-right no-border-top" colspan="1"> | 203 | <td class="table-celda-total text-right no-border-top" colspan="1"> |
204 | <h3>{{getTotal() | currency: remito.moneda.SIMBOLO}}</h3> | 204 | <h3>{{getTotal() | currency: remito.moneda.SIMBOLO}}</h3> |
205 | </td> | 205 | </td> |
206 | <td class="text-right no-border-top"> | 206 | <td class="text-right no-border-top"> |
207 | <button | 207 | <button |
208 | type="button" | 208 | type="button" |
209 | class="btn btn-default btn-sm" | 209 | class="btn btn-default btn-sm" |
210 | > | 210 | > |
211 | Totales | 211 | Totales |
212 | </button> | 212 | </button> |
213 | </td> | 213 | </td> |
214 | </tr> | 214 | </tr> |
215 | </tfoot> | 215 | </tfoot> |
216 | </table> | 216 | </table> |
217 | </div> | 217 | </div> |
218 | 218 | ||
219 | <!-- MOBILE --> | 219 | <!-- MOBILE --> |
220 | <div class="row d-sm-none"> | 220 | <div class="row d-sm-none"> |
221 | <table class="table table-sm table-striped tabla-articulo margin-bottom-mobile"> | 221 | <table class="table table-sm table-striped tabla-articulo margin-bottom-mobile"> |
222 | <thead> | 222 | <thead> |
223 | <tr class="d-flex"> | 223 | <tr class="d-flex"> |
224 | <th class="">#</th> | 224 | <th class="">#</th> |
225 | <th class="col px-0"> | 225 | <th class="col px-0"> |
226 | <div class="d-flex"> | 226 | <div class="d-flex"> |
227 | <div class="col-4 px-1">Código</div> | 227 | <div class="col-4 px-1">Código</div> |
228 | <div class="col-8 px-1">Descripción</div> | 228 | <div class="col-8 px-1">Descripción</div> |
229 | </div> | 229 | </div> |
230 | <div class="d-flex"> | 230 | <div class="d-flex"> |
231 | <div class="col-3 px-1">Cantidad</div> | 231 | <div class="col-3 px-1">Cantidad</div> |
232 | <div class="col px-1 text-right">P. Uni.</div> | 232 | <div class="col px-1 text-right">P. Uni.</div> |
233 | <div class="col px-1 text-right">Subtotal</div> | 233 | <div class="col px-1 text-right">Subtotal</div> |
234 | </div> | 234 | </div> |
235 | </th> | 235 | </th> |
236 | <th class="text-center tamaño-boton"> | 236 | <th class="text-center tamaño-boton"> |
237 | | 237 | |
238 | </th> | 238 | </th> |
239 | </tr> | 239 | </tr> |
240 | </thead> | 240 | </thead> |
241 | <tbody> | 241 | <tbody> |
242 | <tr | 242 | <tr |
243 | ng-repeat="(key, articulo) in remito.articulosRemito" | 243 | ng-repeat="(key, articulo) in remito.articulosRemito" |
244 | ng-show="show || key == remito.articulosRemito.length - 1" | 244 | ng-show="show || key == remito.articulosRemito.length - 1" |
245 | > | 245 | > |
246 | <td class="w-100 align-middle d-flex p-0"> | 246 | <td class="w-100 align-middle d-flex p-0"> |
247 | <div class="align-middle p-1"> | 247 | <div class="align-middle p-1"> |
248 | <span ng-bind="key+1" class="align-middle"></span> | 248 | <span ng-bind="key+1" class="align-middle"></span> |
249 | </div> | 249 | </div> |
250 | <div class="col px-0"> | 250 | <div class="col px-0"> |
251 | <div class="d-flex"> | 251 | <div class="d-flex"> |
252 | <div class="col-4 px-1"> | 252 | <div class="col-4 px-1"> |
253 | <span | 253 | <span |
254 | ng-bind="articulo.sector + '-' + articulo.codigo" | 254 | ng-bind="articulo.sector + '-' + articulo.codigo" |
255 | ></span> | 255 | ></span> |
256 | </div> | 256 | </div> |
257 | <div class="col-8 px-1"> | 257 | <div class="col-8 px-1"> |
258 | <span | 258 | <span |
259 | ng-bind="'x' + articulo.cantidad" | 259 | ng-bind="'x' + articulo.cantidad" |
260 | ng-hide="articulo.editCantidad" | 260 | ng-hide="articulo.editCantidad" |
261 | ></span> | 261 | ></span> |
262 | <i | 262 | <i |
263 | class="fa fa-pencil text-white-50" | 263 | class="fa fa-pencil text-white-50" |
264 | aria-hidden="true" | 264 | aria-hidden="true" |
265 | ng-hide="articulo.editCantidad" | 265 | ng-hide="articulo.editCantidad" |
266 | ng-click="articulo.editCantidad = true" | 266 | ng-click="articulo.editCantidad = true" |
267 | ></i> | 267 | ></i> |
268 | <input | 268 | <input |
269 | ng-show="articulo.editCantidad" | 269 | ng-show="articulo.editCantidad" |
270 | ng-model="articulo.cantidad" | 270 | ng-model="articulo.cantidad" |
271 | class="form-control" | 271 | class="form-control" |
272 | foca-tipo-input | 272 | foca-tipo-input |
273 | min="1" | 273 | min="1" |
274 | step="0.001" | 274 | step="0.001" |
275 | foca-focus="articulo.editCantidad" | 275 | foca-focus="articulo.editCantidad" |
276 | ng-keypress="editarArticulo($event.keyCode, articulo)" | 276 | ng-keypress="editarArticulo($event.keyCode, articulo)" |
277 | ng-focus="selectFocus($event)" | 277 | ng-focus="selectFocus($event)" |
278 | > | 278 | > |
279 | </div> | 279 | </div> |
280 | </div> | 280 | </div> |
281 | <div class="d-flex"> | 281 | <div class="d-flex"> |
282 | <div class="col-3 px-1"> | 282 | <div class="col-3 px-1"> |
283 | <span ng-bind="'x' + articulo.cantidad"></span> | 283 | <span ng-bind="'x' + articulo.cantidad"></span> |
284 | </div> | 284 | </div> |
285 | <div class="col px-1 text-right"> | 285 | <div class="col px-1 text-right"> |
286 | <span ng-bind="articulo.precio | currency: remito.moneda.SIMBOLO : 4"></span> | 286 | <span ng-bind="articulo.precio | currency: remito.moneda.SIMBOLO : 4"></span> |
287 | </div> | 287 | </div> |
288 | <div class="col px-1 text-right"> | 288 | <div class="col px-1 text-right"> |
289 | <span | 289 | <span |
290 | ng-bind="(articulo.precio * articulo.cantidad) | currency: remito.moneda.SIMBOLO" | 290 | ng-bind="(articulo.precio * articulo.cantidad) | currency: remito.moneda.SIMBOLO" |
291 | > | 291 | > |
292 | </span> | 292 | </span> |
293 | </div> | 293 | </div> |
294 | </div> | 294 | </div> |
295 | </div> | 295 | </div> |
296 | <div class="align-middle p-1"> | 296 | <div class="align-middle p-1"> |
297 | <button | 297 | <button |
298 | class="btn btn-outline-light" | 298 | class="btn btn-outline-light" |
299 | ng-click="quitarArticulo(key)" | 299 | ng-click="quitarArticulo(key)" |
300 | > | 300 | > |
301 | <i class="fa fa-trash"></i> | 301 | <i class="fa fa-trash"></i> |
302 | </button> | 302 | </button> |
303 | </div> | 303 | </div> |
304 | </td> | 304 | </td> |
305 | </tr> | 305 | </tr> |
306 | </tbody> | 306 | </tbody> |
307 | <tfoot> | 307 | <tfoot> |
308 | <!-- CARGANDO ITEM --> | 308 | <!-- CARGANDO ITEM --> |
309 | <tr ng-show="!cargando" class="d-flex"> | 309 | <tr ng-show="!cargando" class="d-flex"> |
310 | <td | 310 | <td |
311 | class="align-middle p-1" | 311 | class="align-middle p-1" |
312 | ng-bind="remito.articulosRemito.length + 1" | 312 | ng-bind="remito.articulosRemito.length + 1" |
313 | ></td> | 313 | ></td> |
314 | <td class="col p-0"> | 314 | <td class="col p-0"> |
315 | <div class="d-flex"> | 315 | <div class="d-flex"> |
316 | <div class="col-4 px-1"> | 316 | <div class="col-4 px-1"> |
317 | <span | 317 | <span |
318 | ng-bind="articuloACargar.sectorCodigo" | 318 | ng-bind="articuloACargar.sectorCodigo" |
319 | ></span> | 319 | ></span> |
320 | </div> | 320 | </div> |
321 | <div class="col-8 px-1"> | 321 | <div class="col-8 px-1"> |
322 | <span ng-bind="articuloACargar.descripcion"></span> | 322 | <span ng-bind="articuloACargar.descripcion"></span> |
323 | </div> | 323 | </div> |
324 | </div> | 324 | </div> |
325 | <div class="d-flex"> | 325 | <div class="d-flex"> |
326 | <div class="col-3 px-1 m-1"> | 326 | <div class="col-3 px-1 m-1"> |
327 | <input | 327 | <input |
328 | class="form-control p-1" | 328 | class="form-control p-1" |
329 | foca-tipo-input | 329 | foca-tipo-input |
330 | min="1" | 330 | min="1" |
331 | ng-model="articuloACargar.cantidad" | 331 | ng-model="articuloACargar.cantidad" |
332 | foca-focus="!cargando" | 332 | foca-focus="!cargando" |
333 | ng-keypress="agregarATabla($event.keyCode)" | 333 | ng-keypress="agregarATabla($event.keyCode)" |
334 | style="height: auto; line-height: 1.1em" | 334 | style="height: auto; line-height: 1.1em" |
335 | > | 335 | > |
336 | </div> | 336 | </div> |
337 | <div class="col px-1 text-right"> | 337 | <div class="col px-1 text-right"> |
338 | <span ng-bind="articuloACargar.precio | currency: remito.moneda.SIMBOLO : 4"></span> | 338 | <span ng-bind="articuloACargar.precio | currency: remito.moneda.SIMBOLO : 4"></span> |
339 | </div> | 339 | </div> |
340 | <div class="col px-1 text-right"> | 340 | <div class="col px-1 text-right"> |
341 | <span | 341 | <span |
342 | ng-bind="getSubTotal() | currency: remito.moneda.SIMBOLO" | 342 | ng-bind="getSubTotal() | currency: remito.moneda.SIMBOLO" |
343 | > | 343 | > |
344 | </span> | 344 | </span> |
345 | </div> | 345 | </div> |
346 | </div> | 346 | </div> |
347 | </td> | 347 | </td> |
348 | <td class="text-center align-middle"> | 348 | <td class="text-center align-middle"> |
349 | <button | 349 | <button |
350 | class="btn btn-outline-light" | 350 | class="btn btn-outline-light" |
351 | ng-click="agregarATabla(13)" | 351 | ng-click="agregarATabla(13)" |
352 | > | 352 | > |
353 | <i class="fa fa-save"></i> | 353 | <i class="fa fa-save"></i> |
354 | </button> | 354 | </button> |
355 | </td> | 355 | </td> |
356 | </tr> | 356 | </tr> |
357 | <!-- TOOGLE EXPANDIR --> | 357 | <!-- TOOGLE EXPANDIR --> |
358 | <tr> | 358 | <tr> |
359 | <td class="col"> | 359 | <td class="col"> |
360 | <button | 360 | <button |
361 | class="btn btn-outline-light selectable w-100" | 361 | class="btn btn-outline-light selectable w-100" |
362 | ng-click="show = !show; masMenos()" | 362 | ng-click="show = !show; masMenos()" |
363 | ng-show="remito.articulosRemito.length > 0" | 363 | ng-show="remito.articulosRemito.length > 0" |
364 | > | 364 | > |
365 | <i | 365 | <i |
366 | class="fa fa-chevron-down" | 366 | class="fa fa-chevron-down" |
367 | ng-hide="show" | 367 | ng-hide="show" |
368 | aria-hidden="true" | 368 | aria-hidden="true" |
369 | > | 369 | > |
370 | </i> | 370 | </i> |
371 | <i | 371 | <i |
372 | class="fa fa-chevron-up" | 372 | class="fa fa-chevron-up" |
373 | ng-show="show" | 373 | ng-show="show" |
374 | aria-hidden="true"> | 374 | aria-hidden="true"> |
375 | </i> | 375 | </i> |
376 | </button> | 376 | </button> |
377 | </td> | 377 | </td> |
378 | </tr> | 378 | </tr> |
379 | <!-- FOOTER --> | 379 | <!-- FOOTER --> |
380 | <tr class="d-flex"> | 380 | <tr class="d-flex"> |
381 | <td class="align-middle no-border-top" colspan="2"> | 381 | <td class="align-middle no-border-top" colspan="2"> |
382 | <strong>Cantidad Items:</strong> | 382 | <strong>Cantidad Items:</strong> |
383 | <a ng-bind="remito.articulosRemito.length"></a> | 383 | <a ng-bind="remito.articulosRemito.length"></a> |
384 | </td> | 384 | </td> |
385 | <td class="text-right ml-auto table-celda-total no-border-top"> | 385 | <td class="text-right ml-auto table-celda-total no-border-top"> |
386 | <h3>Total:</h3> | 386 | <h3>Total:</h3> |
387 | </td> | 387 | </td> |
388 | <td class="table-celda-total text-right no-border-top"> | 388 | <td class="table-celda-total text-right no-border-top"> |
389 | <h3>{{getTotal() | currency: remito.moneda.SIMBOLO}}</h3> | 389 | <h3>{{getTotal() | currency: remito.moneda.SIMBOLO}}</h3> |
390 | </td> | 390 | </td> |
391 | </tr> | 391 | </tr> |
392 | </tfoot> | 392 | </tfoot> |
393 | </table> | 393 | </table> |
394 | </div> | 394 | </div> |
395 | </div> | 395 | </div> |
396 | </div> | 396 | </div> |
397 | </div> | 397 | </div> |
398 | <div class="row d-md-none fixed-bottom"> | 398 | <div class="row d-md-none fixed-bottom"> |
399 | <div class="w-100 bg-dark d-flex px-3 acciones-mobile"> | 399 | <div class="w-100 bg-dark d-flex px-3 acciones-mobile"> |
400 | <span class="ml-3 text-muted" ng-click="salir()">Salir</span> | 400 | <span class="ml-3 text-muted" ng-click="salir()">Salir</span> |
401 | <span | 401 | <span |
402 | class="mr-3 ml-auto" | 402 | class="mr-3 ml-auto" |
403 | ng-class="saveLoading ? 'text-muted' : ''" | 403 | ng-class="saveLoading ? 'text-muted' : ''" |
404 | ng-click="crearRemito()" | 404 | ng-click="crearRemito()" |
405 | ladda="saveLoading" | 405 | ladda="saveLoading" |
406 | data-style="expand-left" | 406 | data-style="expand-left" |
407 | >Guardar</span> | 407 | >Guardar</span> |
408 | </div> | 408 | </div> |
409 | </div> | 409 | </div> |
410 | </div> | 410 | </div> |
411 | 411 |