Commit 397c5dae42683251d8d7b3de19c85fd364fa1478

Authored by Eric
1 parent c42bbe43ee
Exists in master

mobile

... ... @@ -28,6 +28,7 @@
28 28 <script src="./node_modules/leaflet/dist/leaflet.js"></script>
29 29 <script src="./node_modules/ngstorage/ngStorage.min.js"></script>
30 30 <script src="./vendor/cordovaGeolocationModule.min.js"></script>
  31 + <script src="./node_modules/angular-md5/angular-md5.min.js"></script>
31 32  
32 33 <script src="./node_modules/foca-botonera-facturador/dist/foca-botonera-facturador.min.js"></script>
33 34 <script src="./node_modules/foca-botonera-lateral/dist/foca-botonera-lateral.min.js"></script>
... ... @@ -58,6 +59,7 @@
58 59 <script src="./node_modules/foca-modal-login/dist/foca-modal-login.min.js"></script>
59 60 <script src="./node_modules/foca-modal-nota-pedido/dist/foca-modal-nota-pedido.min.js"></script>
60 61 <script src="./node_modules/foca-modal-precio-condiciones/dist/foca-modal-precio-condiciones.min.js"></script>
  62 + <script src="./node_modules/foca-modal-resumen-cuenta/dist/foca-modal-resumen-cuenta.min.js"></script>
61 63 <script src="./node_modules/foca-modal-punto-descarga/dist/foca-modal-punto-descarga.min.js"></script>
62 64 <script src="./node_modules/foca-modal-tarifa-flete/dist/foca-modal-tarifa-flete.min.js"></script>
63 65 <script src="./node_modules/foca-nombre-empresa/dist/foca-nombre-empresa.min.js"></script>
... ... @@ -66,6 +68,7 @@
66 68 <script src="./src/js/app.js"></script>
67 69 <script src="./src/js/controller.js"></script>
68 70 <script src="./src/js/service.js"></script>
  71 + <script src="./src/js/interceptor.js"></script>
69 72 <script src="./src/etc/develop.js"></script>
70 73 </head>
71 74 <body>
... ... @@ -25,6 +25,7 @@
25 25 "angular-cookies": "^1.7.8",
26 26 "angular-i18n": "^1.7.8",
27 27 "angular-ladda": "^0.4.3",
  28 + "angular-md5": "^0.1.10",
28 29 "angular-route": "^1.7.8",
29 30 "angular-sanitize": "^1.7.8",
30 31 "angular-ui-swiper": "^2.3.8",
... ... @@ -47,7 +48,7 @@
47 48 "foca-crear-cobranza": "git+http://git.focasoftware.com/npm/foca-crear-cobranza.git",
48 49 "foca-crear-hoja-ruta": "git+http://git.focasoftware.com/npm/foca-crear-hoja-ruta.git",
49 50 "foca-crear-login": "git+http://git.focasoftware.com/npm/foca-crear-login.git",
50   - "foca-crear-nota-pedido": "git+http://git.focasoftware.com/npm/foca-crear-nota-pedido.git",
  51 + "foca-crear-nota-pedido": "git+http://git.focasoftware.com/npm/foca-crear-nota-pedido.git#develop",
51 52 "foca-crear-remito": "git+http://git.focasoftware.com/npm/foca-crear-remito.git",
52 53 "foca-directivas": "git+http://git.focasoftware.com/npm/foca-directivas.git",
53 54 "foca-estado-cisternas": "git+http://git.focasoftware.com/npm/foca-estado-cisternas.git",
... ... @@ -73,6 +74,7 @@
73 74 "foca-modal-precio-condiciones": "git+http://git.focasoftware.com/npm/foca-modal-precio-condiciones.git",
74 75 "foca-modal-punto-descarga": "git+http://git.focasoftware.com/npm/foca-modal-punto-descarga.git",
75 76 "foca-modal-remito": "git+http://git.focasoftware.com/npm/foca-modal-remito.git",
  77 + "foca-modal-resumen-cuenta": "git+http://git.focasoftware.com/npm/foca-modal-resumen-cuenta.git",
76 78 "foca-modal-tarifa-flete": "git+http://git.focasoftware.com/npm/foca-modal-tarifa-flete.git",
77 79 "foca-modal-unidad-medida": "git+http://git.focasoftware.com/npm/foca-modal-unidad-medida.git",
78 80 "foca-nombre-empresa": "git+http://git.focasoftware.com/npm/foca-nombre-empresa.git",
src/etc/develop.ejemplo.js
1 1 angular.module('appWrapperDemo')
2   -.constant('APP', '')
3   -.constant('ENDPOINT_BASE', 'http://10.231.45.127:3000');
  2 + .constant('APP', '')
  3 + .constant('ENDPOINT_BASE', 'http://10.231.45.127:3000');
... ... @@ -7,6 +7,7 @@ angular.module(&#39;appWrapperDemo&#39;, [
7 7 'ngStorage',
8 8 'ui.bootstrap',
9 9 'ui.swiper',
  10 + 'angular-md5',
10 11  
11 12 // MODULOS FOCA
12 13 'focaBotoneraFacturador',
... ... @@ -38,6 +39,7 @@ angular.module(&#39;appWrapperDemo&#39;, [
38 39 'focaModalNotaPedido',
39 40 'focaModalPrecioCondicion',
40 41 'focaModalPuntoDescarga',
  42 + 'focaModalResumenCuenta',
41 43 'focaModalTarifaFlete',
42 44 'focaNombreEmpresa',
43 45 'focaSeguimiento',
... ... @@ -5,7 +5,7 @@ angular.module(&#39;appWrapperDemo&#39;)
5 5 'ENDPOINT_BASE',
6 6 function($http, $localStorage, ENDPOINT_BASE) {
7 7 return {
8   - URL: $localStorage.urlEndPoint,
  8 + URL: 'http://localhost:9900',
9 9 ENDPOINT_BASE: ENDPOINT_BASE,
10 10 setUrl: function(url) {
11 11 this.URL = url;