562 Commits

Author SHA1 Message Date
2208518ca0 AddAddress: add new address or update existing address: split fetch cascade and factorize reused functions 2021-09-04 12:47:47 +02:00
d51752fa41 Address, city/address selector: update writeNew flag when choose existing or create new 2021-09-04 12:40:42 +02:00
3ccc82147b Merge branch 'fix_address' into person_renderbox_thirdparty_onthefly 2021-09-03 18:57:33 +02:00
f2248a1e9c translation, wip 2021-09-03 09:59:54 +02:00
d8b2d3cd90 rename address-render-box component
(cfr b9602aa72 - file had been moved and renamed,
now we just rename component name into import and template
)
2021-09-02 22:28:32 +02:00
b14b27c110 Merge branch 'fix_address' into post-prototypage 2021-09-02 21:07:39 +02:00
f6e65dddbe vue Address: listen to citySelector to automatically fill city name and postcode fields 2021-09-02 21:06:11 +02:00
b940348452 Merge branch 'fix_address' into post-prototypage 2021-09-02 19:28:52 +02:00
90faa27461 vue Address: listen to adresssSelector to automatically fill street/number fields 2021-09-02 19:15:40 +02:00
a4118b1235 Merge branch 'person_renderbox_thirdparty_onthefly' into post-prototypage 2021-09-02 12:25:33 +02:00
b69fdd459a fix vue renderbox component name 2021-08-31 15:26:00 +02:00
1a2cb22b5b household, wip 2021-08-31 12:41:19 +02:00
3fa4f1b28b address multiline as option in householdrenderbox 2021-08-31 11:06:44 +02:00
b9602aa720 rename/move vue AddressRenderBox 2021-08-27 17:31:44 +02:00
983bca97ac fix vue Address duplicate details 2021-08-27 15:55:39 +02:00
5fd7d869bf Entity/PersonRenderBox.vue with render=badge 2021-08-27 15:55:39 +02:00
2333b5c6b4 rename some translations 2021-08-27 09:55:13 +02:00
5194cad354 Adaptations for display of age and deathdate (different scenarios not all finished) 2021-08-26 14:53:04 +02:00
34df295801 replace store by data() for OnTheFly creation in AddPersons component 2021-08-26 00:17:38 +02:00
ccb302ad28 move postPerson fetch method out of OnTheFly component for addPersons create person case
OnTheFly don't use store anymore, but addPerson still use it
2021-08-25 23:45:52 +02:00
a0fd3cd481 move postPerson fetch method from children to onthefly first level (to squash) 2021-08-25 22:47:00 +02:00
25f43bc758 move postPerson fetch method from grant-children to children (to squash) 2021-08-25 21:25:39 +02:00
e369e43b00 onthefly create new person: adding result in suggested/selected list 2021-08-25 18:46:06 +02:00
88362bd284 start of updating personrenderbox to display age. only one scenario done 2021-08-25 17:46:51 +02:00
4f1a9c205f Merge branch 'ameliorations_composants_vue' into 'improve_ux'
Ameliorations composants vue

See merge request Chill-Projet/chill-bundles!134
2021-08-20 16:09:22 +00:00
7363092d51 #134 fixes show button for thirdparty 2021-08-20 16:52:35 +02:00
698514ef12 #192 custom-zone added + no_data message 2021-08-20 14:47:33 +02:00
55c34c2583 #134 fix dynamic URL to go to person or thirdparty file 2021-08-20 11:06:11 +02:00
f2b5cd7636 Accourse: toggle flags bg-danger in banner + misc 2021-08-20 01:35:01 +02:00
52469d995a onTheFly modal, edit button changed to show person file 2021-08-19 21:07:37 +02:00
d61dbaed91 move vue thirdparty components in ChillThirdPartyBundle assets 2021-08-19 16:01:23 +02:00
fd8f4a98c0 vue Address: fix ShowAddress multiline option 2021-08-19 15:41:54 +02:00
2394895ccb Merge branch 'ameliorations_composants_vue' of gitlab.com:Chill-Projet/chill-bundles into ameliorations_composants_vue 2021-08-19 15:07:43 +02:00
90cfcd0569 ThirdPartyRenderBox created and old view replaced 2021-08-19 12:31:38 +02:00
3e9d96368d style added to create space between streetname and city + margin of flex-table fixed 2021-08-19 12:26:00 +02:00
34e1a9b748 address added to personrenderbox w/ ShowAddress. Adapted to include a multiline option 2021-08-18 16:22:38 +02:00
7ba3e0287a Address: adding hideDateFrom option to hide field DateFrom on step1 2021-08-17 17:24:27 +02:00
cdc6cf211a AddAddress option buttonType: component manage button in edit or create context 2021-08-17 15:41:03 +02:00
aa0ff37479 Address: fix option regression 2021-08-17 09:04:58 +02:00
1b3904f8e3 rename variable displayText 2021-08-16 10:19:53 +02:00
17dd52c3dc import ShowAddress in CourseLocation, with alert if temporary address 2021-08-13 17:20:58 +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
1d2cbc4f62 minor details 2021-08-13 16:11:49 +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
4b69f97e2f vue AddAddress: merge api files in the person bundle 2021-08-13 10:23:46 +02:00
c302452e01 improve Address reusability: move i18n translations out of root component 2021-08-12 16:45:41 +02:00
76a4b24aa1 improve vue Address options (to be checked in all context) 2021-08-12 15:50:27 +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