4528 Commits

Author SHA1 Message Date
29b5e700f6 rename key in payload 2021-08-16 18:38:08 +02:00
e8e2607076 rename method to avoid confusion 2021-08-16 16:27:15 +02:00
107699ec31 patch Address to accompanyingPeriod: build payload for differents cases
use uniq patch api endpoint, build payload body in action,
call updateAddress action when submitting, assigning or removing.
2021-08-16 16:26:45 +02:00
25465b1121 [AccompanyingCourse] re-introduce flashbag on temporarily locations
See 4e8dd3b189
2021-08-16 15:42:36 +02:00
Marc Ducobu
8834f200df Removing un-used code 2021-08-16 15:42:36 +02:00
Marc Ducobu
cc84c067c5 Other social entities became editable via admin 2021-08-16 15:42:36 +02:00
Marc Ducobu
d8ee42b0a5 SocialIssues became editable via admin 2021-08-16 15:42:36 +02:00
Marc Ducobu
a948d9e2da Add license text 2021-08-16 15:42:36 +02:00
Marc Ducobu
c9a5d0548c Removing spaces at the end of line 2021-08-16 15:42:36 +02:00
Marc Ducobu
c37ba5db6a Removing spaces at the end of line 2021-08-16 15:42:36 +02:00
54c4524b27 extend search api to users 2021-08-16 14:39:18 +02:00
966292cdd5 pass props to ButtonLocation 2021-08-16 12:18:08 +02:00
9d1166d8fc add removeAddress button; buttonType different with edit context 2021-08-16 10:56:24 +02:00
1b3904f8e3 rename variable displayText 2021-08-16 10:19:53 +02:00
2d2bb117ca condition on persons to see button location 2021-08-13 17:54:58 +02:00
17dd52c3dc import ShowAddress in CourseLocation, with alert if temporary address 2021-08-13 17:20:58 +02:00
d6e41e5ac7 Merge branch 'address_refactoring' into add-location-period 2021-08-13 16:59:37 +02:00
b0187d0594 add file ShowAdressPane that contains ShowAddress, because ShowAddress must be called in several files 2021-08-13 16:58:48 +02:00
ea691d9b32 Merge branch 'address_refactoring' into add-location-period 2021-08-13 16:13:09 +02:00
1d2cbc4f62 minor details 2021-08-13 16:11:49 +02:00
5e0c930087 CourseLocation: action and mutation for updateLocation, hide button if personLocation 2021-08-13 16:08:42 +02:00
f535e794a7 Merge branch 'address_refactoring' into add-location-period 2021-08-13 16:04:15 +02:00
2f28e02f65 prepare vue Address to be used too in accompanyingCourse context
i18n is managed by root component:
* ok for person and household implementation (=> they use Address root component)
* but must be imported in vue i18n file if called from another component

submitAddress is emit to parent, it allow to control final action:
* casting final submitNewAddress with POST requests (for person or household entity);
* or dispatching changes from store, casting only payload to be used.

remove and simplify some options: backurl is always used with person/household,
and never if called from another vue component.
2021-08-13 16:01:15 +02:00
1600d3d271 Merge branch 'address_refactoring' into add-location-period 2021-08-13 10:26:12 +02:00
4b69f97e2f vue AddAddress: merge api files in the person bundle 2021-08-13 10:23:46 +02:00
64433b420d CourseLocation: view current location 2021-08-12 17:05:43 +02:00
8f9d4a1765 Merge branch 'address_refactoring' into add-location-period 2021-08-12 16:46:25 +02:00
c302452e01 improve Address reusability: move i18n translations out of root component 2021-08-12 16:45:41 +02:00
205c48f58a courseLocation: init Address context in the store 2021-08-12 15:55:10 +02:00
368bbcf9b2 Merge branch 'address_refactoring' into ggg 2021-08-12 15:53:42 +02:00
76a4b24aa1 improve vue Address options (to be checked in all context) 2021-08-12 15:50:27 +02:00
f6376118a0 commented out unneccesary lines for migration 2021-08-12 11:54:50 +02:00
a6001c195a templates added and adapted for delete, list en view of aside activity 2021-08-12 11:53:04 +02:00
8829d234ec adapt to show date of death. it adapts but does not show actual date of death yet 2021-08-12 11:50:11 +02:00
6ee0acfa0f vue_accourse: adapt stickynav numerotation with 2 new blocs
+ let IDE make corrections in theses files
2021-08-12 11:37:25 +02:00
7d97889cbf templates changed to use the standard CRUD templates + delete template added 2021-08-10 15:45:00 +02:00
fc6a9ad64f migration files moved into bundle 2021-08-10 14:23:07 +02:00
4c7129a3b2 aside activities added to user menu 2021-08-10 14:19:01 +02:00
bbb69bcfe0 list template adapted to display aside activities ordered by date (DESC) 2021-08-10 14:18:37 +02:00
a1ed0d3ce4 list.html.twig template added and adapted to display list of aside activities, still need to adapt to show only activities of logged in user 2021-08-10 11:32:27 +02:00
fb43980a2a everything changed to datetime 2021-08-10 10:56:45 +02:00
da98b42c8c Merge branch 'address_refactoring' into add-location-period 2021-08-08 22:34:51 +02:00
840ffe42a6 fix patchAddress with date validFrom 2021-08-08 22:27:39 +02:00
1f8c343a89 submitAddress doesn't take arguments 2021-08-08 22:01:27 +02:00
f6a02e157d manage validFrom date, wip (patchAddress return 500) 2021-08-08 22:01:27 +02:00
21957846b0 fix more precise condition 2021-08-08 12:30:31 +02:00
1c7e1b55f8 standard successText seems better 2021-08-08 12:30:31 +02:00
ea391d18e9 fix display alerts above 2021-08-08 12:30:31 +02:00
72cd9f452e fix 500: in edit context, we don't need to postAddressTo a second time ! 2021-08-08 12:30:31 +02:00
44313b507a twig include allow to pass mode:edit option when it's not detected 2021-08-08 11:14:31 +02:00