Commit Graph

273 Commits

Author SHA1 Message Date
Juan Ferrer Toribio 9090c56c64 Backend tests fixed 2018-01-31 13:40:26 +01:00
Juan Ferrer Toribio cba0645f92 Merge with dev 2018-01-31 12:19:34 +01:00
Juan Ferrer Toribio 3d6f9fbbca Backend tests refactor, bug fixes 2018-01-31 12:17:17 +01:00
Carlos Jimenez cd027a3e12 refactor to avoid using import on backend testing env 2018-01-31 12:02:35 +01:00
Carlos Jimenez 215ae09b70 refactor to remove import from backend testing in order to use require 2018-01-31 11:15:12 +01:00
Juan Ferrer Toribio 109f04c517 Merge 2018-01-30 16:34:32 +01:00
Daniel Herrero 90fab7b01a address observations, list and view edit (TODO save) 2018-01-30 14:47:47 +01:00
Juan Ferrer Toribio f688090cba i18n on backend, improved backend error handling, redundant model-config removed 2018-01-29 19:57:00 +01:00
Juan Ferrer Toribio f4a790f87c Merge branch 'dev' of https://git.verdnatura.es/salix into dev 2018-01-29 12:38:08 +01:00
Juan Ferrer Toribio a3188b204f Views migrated to vn schema, Node v8, Error handling, async-await, bugs solved 2018-01-29 12:37:54 +01:00
Carlos Jimenez 0e88c2c4e7 renived private method tests and implemented HeadLessChrome on Karma and removed Firefox as browser 2018-01-26 12:13:39 +01:00
Carlos Jimenez 6dba8c7a40 salesperson back end unit tests plus small refactor on addresses, employee and filter specs 2018-01-26 11:23:53 +01:00
Carlos Jimenez 8dafd8c3b0 roles backend unit tests plus typos corrected on card and filer specs 2018-01-26 09:00:16 +01:00
Carlos Jimenez 092efc80c1 greuge filter backend unit test 2018-01-25 11:40:54 +01:00
Carlos Jimenez 506d6e0688 small file name refactor and client employee backend unit tests 2018-01-24 15:13:42 +01:00
Carlos Jimenez 48aef1f9b0 client Card backend unit tests 2018-01-24 13:45:32 +01:00
Carlos Jimenez 8801c20071 added restoreFixtures to a afterAll method on create and addressesPropagateRe spec files 2018-01-24 08:09:39 +01:00
Carlos Jimenez 108fb92d73 removed unnused code placed during testing steps 2018-01-23 16:41:28 +01:00
Carlos Jimenez 0d8feaef60 addressesPropagateRe backend unit tests 2018-01-23 15:59:21 +01:00
Carlos Jimenez 83f4a2d6bd back end unit tests for addresses plus refactor on fixtures stuff 2018-01-23 14:18:46 +01:00
Carlos Jimenez f8736bc599 total greuge backend unit test error handling added 2018-01-23 09:33:23 +01:00
Carlos Jimenez 5341c5bbf1 client create backend unit test plus error handling refactor 2018-01-23 09:32:19 +01:00
Carlos Jimenez dd89df9a71 fixtures restart implementation 2018-01-21 17:47:24 +01:00
Carlos Jimenez 468b9195ac typo corrected 2018-01-19 13:07:03 +01:00
Carlos Jimenez 072f02aacb greuge backend unit tests for filter and totalGreuge finished 2018-01-19 13:05:25 +01:00
Carlos Jimenez a60d8f120c greuge filter unit test 2018-01-19 07:55:41 +01:00
Carlos Jimenez 2a0b52b094 disabled malfuctioning test 2018-01-17 14:52:35 +01:00
Carlos Jimenez 125c8019ed greuge filter backend unit test file 2018-01-17 14:50:21 +01:00
Carlos Jimenez 984540a3f2 back end refactor for the fixtures setup plus some test on client create() 2018-01-17 12:46:26 +01:00
Carlos Jimenez bfcbf23de8 setup for back end unit test up and runing, fixtures pending 2018-01-16 21:39:40 +01:00
Carlos Jimenez 633386d62f removed uniqueness validation for name 2018-01-15 14:47:48 +01:00
Carlos Jimenez bb06a54df2 removed validatesPresenceOf() from client and greuge to add required: true on their models 2018-01-11 22:11:35 +01:00
Carlos Jimenez d9438e6b77 form validations now validates imputs being empty when dirty plus e2e updated tests for it. 2018-01-11 13:16:39 +01:00
Carlos Jimenez 959e5b4543 greuge validations 2018-01-11 11:22:56 +01:00
Carlos Jimenez c3d6a9c043 fixed client observations to apply eslint rules plus bug fixed in datePicker 2018-01-09 13:53:21 +01:00
Carlos Jimenez b3ddeaf4a7 credit refactor to build employee name and surname on client side 2018-01-05 08:06:21 +01:00
Daniel Herrero 3e1d6ee4e5 bug fixed in address pagination 2017-12-14 15:08:07 +01:00
Daniel Herrero 9fe0aadff8 modelos con inicial mayuscula 2017-12-13 13:40:21 +01:00
Daniel Herrero 69934a4869 [R12 - T16] Bug corregido, faltaba la asociacion con cliente para el modelo Mandate 2017-12-13 09:05:58 +01:00
Daniel Herrero b8a6340afd [R12 - T16] REST para mandatos 2017-12-13 08:24:14 +01:00
Carlos Jimenez 78a2887ab3 several repairs on both e2e paths create client and edit basic data plus some required refactors 2017-12-05 15:28:48 +01:00
Carlos Jimenez 08bfb80912 refactor to fix and update testing fixtures 2017-12-05 11:21:48 +01:00
Javi Gallego 8755d4846a merge 2017-12-04 08:17:29 +01:00
Daniel Herrero aae137d35e changed datasource in employeeList service 2017-11-22 13:35:05 +01:00
Daniel Herrero ba73869fd3 changes in getRoleCustomer service 2017-11-22 13:24:36 +01:00
Daniel Herrero 3bd913cbd9 changed datasource in salesperson service 2017-11-22 13:19:51 +01:00
Javi Gallego bfd584487f limpieza de models auth obsoleto, ahora vn 2017-11-22 12:43:12 +01:00
Javi Gallego b3e8b4542a model client con la nueva nomenclatura 2017-11-22 08:59:21 +01:00
Daniel Herrero e7d19da8f5 added sales person property into create new client 2017-11-21 14:53:09 +01:00
Daniel Herrero 28c4cdfa5f removed eslint problems 2017-11-21 11:59:43 +01:00
Daniel Herrero 730d52169e bug fixed in salesperson query 2017-11-21 11:50:37 +01:00
Joan Sanchez a138554301 Cambiada ruta de petición al desactivar cliente. 2017-11-20 18:56:53 +01:00
Daniel Herrero 96f1db5cb7 Merge branch 'dev' of https://git.verdnatura.es/salix into dev 2017-11-16 15:06:04 +01:00
Daniel Herrero ea35c1feda new searchBar 2017-11-16 15:05:45 +01:00
Juan Ferrer Toribio e03d257930 Errores en spinner 2017-11-16 13:47:18 +01:00
Juan Ferrer Toribio 519a55fac7 Merge, errores en spinner solucionados 2017-11-16 13:46:56 +01:00
Juan Ferrer Toribio 67829f5694 Correcciones varias 2017-11-16 12:35:07 +01:00
Vicente Falco 79e09e32e3 client: dni validation 2017-11-16 12:02:45 +01:00
Daniel Herrero d4a0cf205d bug fixed in edit addresses 2017-11-15 12:11:35 +01:00
Carlos 154c06e7f4 added hasToInvoiceByAddress checkbox to client > billingData 2017-11-13 11:47:41 +01:00
Daniel Herrero 17143883f8 address data changes 2017-11-09 14:27:01 +01:00
Daniel Herrero b77395762c bug fixed in address 2017-11-09 13:22:54 +01:00
Vicente Falco ac8797f24d Client Service: Employee List active 2017-10-25 13:47:39 +02:00
Vicente Falco a58d530523 Client: add notes 2017-10-24 14:10:09 +02:00
Vicente Falco 64497d70e1 Client Address: Change default address 2017-10-24 13:37:27 +02:00
Vicente Falco 1c5a65928e change on services, docker localDB y jasmime 2017-10-24 08:56:18 +02:00
Daniel Herrero 83d262ec32 agencyService changes to agencyMode 2017-10-19 09:21:34 +02:00
Daniel Herrero 9159af69f4 correciones varias 2017-10-19 09:12:27 +02:00
Dani Herrero 59577bcb7f bug fixed rawSQL 2017-10-18 15:06:38 +02:00
Dani Herrero 3d52031dc2 cambios en validacion de credito de cliente 2017-10-18 12:51:33 +02:00
Juan Ferrer Toribio 5f1066ff03 Eliminando codigo redundante v3 2017-10-13 16:23:00 +02:00
Juan Ferrer Toribio 08da6c9713 Eliminando código redundante v1 2017-10-11 15:36:47 +02:00
Dani Herrero 0925451364 spread equivalent tax in all addresses 2017-10-04 13:32:26 +02:00
Dani Herrero 9fbc404aa1 bug fixed in formatCard function 2017-10-04 09:07:14 +02:00
Dani Herrero 8e5eca5629 validation client credit - refact 2017-10-04 08:33:51 +02:00
Dani Herrero 627d27ad51 validate client credit 2017-10-04 08:18:31 +02:00
Dani Herrero 4e309b67f0 bug fixed on LoadMore action in autocomplete 2017-10-03 09:16:02 +02:00
Joan Sanchez aef9659798 Mailer: Autentificación token por ruta. Fix creditClassification 2017-10-02 11:19:55 +02:00
Javi Gallego 19e7e0d76b cambio de enabled y default por isEnabled y isDefaultAddress 2017-09-29 14:41:30 +02:00
Dani Herrero ecf88f6b66 new address list 2017-09-28 14:34:18 +02:00
Dani Herrero 70e4b22e8a get address return province data 2017-09-28 11:29:01 +02:00
Dani Herrero 1d47bf58f1 Merge branch 'dev' of https://git.verdnatura.es/salix into dev 2017-09-28 09:14:31 +02:00
Dani Herrero 62cc0c3c9e sales person formated 2017-09-28 09:13:42 +02:00
Vicente Falco 895b3435c4 getRoleCustomer return object not array of object 2017-09-28 08:41:45 +02:00
Joan Sanchez 677e8ddd62 Token authenticate, solunion notification 2017-09-27 17:44:51 +02:00
Dani Herrero fbd5fea126 [finish] active salesPerson service 2017-09-27 09:25:33 +02:00
Dani Herrero 4eeb5df74f Merge branch 'dev' of https://git.verdnatura.es/salix into dev 2017-09-27 07:22:44 +02:00
Dani Herrero 43a55f60c4 active salesperson service in progress 2017-09-27 07:22:40 +02:00
Juan Ferrer Toribio f647e9e2d1 Modelos y código común para servicios loopback 2017-09-26 16:59:24 +02:00
Javi Gallego bf0bd37773 validacion del Iban 2017-09-25 17:40:02 +02:00
Javi Gallego 9b76d3d004 validaciones custom se bajan al cliente solo si son isExportable 2017-09-25 17:39:51 +02:00
Carlos 76b0b955cf fixed ESLint errores for the commited files. 2017-09-20 15:06:38 +02:00
Carlos 9ed9e13b54 jasmine ESLint plugging added to dev dependencies and refactor on all specs according to eslint rules. 2017-09-20 14:01:33 +02:00
Carlos e20dd82928 repaired ESLint to work everywhere, plus refactor on all package.json's that included ESLint dependencies. 2017-09-20 13:15:12 +02:00
Vicente Falco 6c3ac042f1 CreateUserProfile: save first email on account table and all emails on client table 2017-09-20 12:15:38 +02:00
Carlos 2e5989cc7f removed console.log from filter.js 2017-09-19 14:36:48 +02:00
Carlos e8d24a52ef basic-data.html info tag added, plus refactor on backend create.js and filter.js, plus spec commented until db docker implementation 2017-09-19 14:34:59 +02:00
Vicente Falco 93568237f0 boolean return method getRoleCustomer 2017-09-18 11:52:03 +02:00
Vicente Falco 7f6e9fc617 Service gets if a client has got a Role customer -
getRoleCustomer
2017-09-18 07:39:06 +02:00
Carlos f5fd729634 e2e tests on clients path 2017-09-11 16:12:32 +02:00