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
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
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
46bd70881e
Address i18n: manage specific translations
2021-08-08 10:34:02 +02:00
fbf343dd19
keep this unused subcomponent file, wrote for Address with household
2021-08-08 09:59:31 +02:00
028af50dbc
Vue HouseHoldAddress is now unused and can be dropped
2021-08-08 09:50:35 +02:00
0075fed9a5
submit methods: first promise is shared for person or household context
2021-08-08 09:48:42 +02:00
62dc94bb14
Twig: test address_id in url and substring 'edit' in route
2021-08-08 08:35:52 +02:00
c075ff199d
fix and rename variables + remove comments
2021-08-07 19:21:34 +02:00
e178183cef
corrections + details
2021-08-07 18:50:10 +02:00
63fbf4b249
make Address works with household context
2021-08-07 17:29:45 +02:00
9f77b84e48
prepare to merge HouseholdAddress in Address: split api.js files
2021-08-07 15:47:38 +02:00
fae196d3eb
prepare AccompanyingCourse Location sub-component to use Address
2021-08-07 15:40:26 +02:00
ca4d542604
Merge branch 'address_refactoring' into add-location-period
2021-08-07 12:01:14 +02:00
75be8aa557
enable vue CourseLocation and mark place where it must connect to Address component
2021-08-07 12:00:08 +02:00
9e94cea9d5
mark potential place where template must include vue_address component
2021-08-07 11:51:15 +02:00
6d58bf152b
Merge branch 'address_refactoring' into add-location-period
2021-08-06 21:50:04 +02:00
47d704b521
passing option backUrl from include template twig
2021-08-06 21:46:10 +02:00
cdbd97e595
passing option binModalStep from twig include template
2021-08-06 21:32:10 +02:00
24714227b8
transmit all options from a twig include template
2021-08-06 21:20:59 +02:00
da09e10fb1
adding options in root component to see result or redirect (not working)
2021-08-06 17:36:19 +02:00
b62597426c
classes for address-valid
2021-08-06 16:41:29 +02:00
6c0ab6f25e
when creating new address, start first with edit panel
2021-08-06 16:41:29 +02:00