Commit c862515ee31bffab6223b4625415b39f95ad335c
1 parent
cd56de95b0
Exists in
master
Cambiada ruta de servicio.
Showing
2 changed files
with
2 additions
and
54 deletions
Show diff stats
src/js/service.js
... | ... | @@ -22,7 +22,7 @@ angular.module('focaCrearFactura') |
22 | 22 | return $http.post(route + '/turnos/depacho-sin-uso', parametros); |
23 | 23 | }, |
24 | 24 | getResumenCuenta: function (idCliente) { |
25 | - return $http.get('http://10.231.45.194:9900' + '/cliente/resumen-cuenta/' + idCliente); | |
25 | + return $http.get(API_ENDPOINT + '/cliente/resumen-cuenta/' + idCliente); | |
26 | 26 | }, |
27 | 27 | getBotonera: function () { |
28 | 28 | return [ |
src/views/factura.html
... | ... | @@ -237,7 +237,7 @@ |
237 | 237 | <div class="m-auto p-1"> |
238 | 238 | <button |
239 | 239 | class="btn btn-outline-light" |
240 | - ng-click="quitarArticulo(key)" | |
240 | + ng-click="quitarDespacho(key)" | |
241 | 241 | > |
242 | 242 | <i class="fa fa-trash"></i> |
243 | 243 | </button> |
... | ... | @@ -246,58 +246,6 @@ |
246 | 246 | </tr> |
247 | 247 | </tbody> |
248 | 248 | <tfoot> |
249 | - <!-- CARGANDO ITEM --> | |
250 | - <tr ng-show="!cargando" class="d-flex"> | |
251 | - <td | |
252 | - class="m-auto p-1" | |
253 | - ng-bind="articulosFiltro().length + 1" | |
254 | - ></td> | |
255 | - <td class="col p-0"> | |
256 | - <div class="d-flex"> | |
257 | - <div class="col-4 px-1"> | |
258 | - <span | |
259 | - ng-bind="articuloACargar.sectorCodigo" | |
260 | - ></span> | |
261 | - </div> | |
262 | - <div class="col-8 px-1"> | |
263 | - <span ng-bind="articuloACargar.DES"></span> | |
264 | - </div> | |
265 | - </div> | |
266 | - <div class="d-flex"> | |
267 | - <div class="col-3 px-1 m-1"> | |
268 | - <input | |
269 | - class="form-control p-1" | |
270 | - foca-tipo-input | |
271 | - min="1" | |
272 | - ng-model="articuloACargar.CAN" | |
273 | - foca-focus="!cargando" | |
274 | - ng-keypress="agregarATabla($event.keyCode)" | |
275 | - style="height: auto; line-height: 1.1em" | |
276 | - > | |
277 | - </div> | |
278 | - <div class="col px-1 text-right"> | |
279 | - <span ng-bind="articuloACargar.PUN | | |
280 | - currency: factura.c.moneda.SIMBOLO : 4" | |
281 | - ></span> | |
282 | - </div> | |
283 | - <div class="col px-1 text-right"> | |
284 | - <span | |
285 | - ng-bind="getSubTotal() | | |
286 | - currency: factura.c.moneda.SIMBOLO" | |
287 | - > | |
288 | - </span> | |
289 | - </div> | |
290 | - </div> | |
291 | - </td> | |
292 | - <td class="text-center m-auto"> | |
293 | - <button | |
294 | - class="btn btn-outline-light" | |
295 | - ng-click="agregarATabla(13)" | |
296 | - > | |
297 | - <i class="fa fa-save"></i> | |
298 | - </button> | |
299 | - </td> | |
300 | - </tr> | |
301 | 249 | <!-- TOOGLE EXPANDIR --> |
302 | 250 | <tr> |
303 | 251 | <td class="col"> |