cdc6cf211a
AddAddress option buttonType: component manage button in edit or create context
2021-08-17 15:41:03 +02:00
43f9e50100
Merge branch 'features/add-location-period' of gitlab.com:Chill-Projet/chill-bundles into add-location-period
2021-08-17 09:36:50 +02:00
aa0ff37479
Address: fix option regression
2021-08-17 09:04:58 +02:00
20cdec20d2
accompanyingCourse: ckeditor for comment bloc + sass color variables in app.vue
2021-08-16 20:25:09 +02:00
0abb4983f7
open confirmation modal when assigning person Location
2021-08-16 19:42:55 +02:00
5a716a3523
[Household members editor] add address suggestion on menage creation
2021-08-16 19:07:03 +02:00
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
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