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