Commit Graph

57 Commits

Author SHA1 Message Date
63d0a52ea1 Ajout de commentaires supplémentaires aux motifs 2025-07-11 14:06:40 +00:00
aa0785fc71 Apply prettier rules 2024-11-14 18:47:38 +01:00
27ecae4486 first eslint corrections 2024-10-31 17:28:02 +01:00
13b96637bb Refactor address vue app and create a PickAddressType 2021-10-13 22:58:54 +02:00
9f07e6a272 Address: fetch POST valid dates when applying changes from datePane 2021-09-24 11:22:48 +02:00
851fa663ca Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-22 14:07:09 +02:00
e336990b16 comment console.log 2021-09-22 13:55:24 +02:00
7d2e82d69b Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-20 20:16:39 +02:00
75a240a2d6 parent callback will cast afterLastPaneAction, that manage redirection or context changes 2021-09-20 20:15:38 +02:00
717cd03d95 Address: context id received from twig are integer 2021-09-20 20:15:38 +02:00
1e829707be tp: wip.. write postAddressToThirdparty api for AddAddress callback 2021-09-20 20:13:20 +02:00
a842229d5e improve addAddress 2021-09-18 21:47:04 +02:00
2788170f03 slot buttons up from actionButtons to addAddress 2021-09-18 17:02:45 +02:00
4855ec2065 AddAddress: adding a forceRedirect option 2021-09-17 15:55:10 +02:00
3f3b7af42b AddAddress: adjust Open and Close methods for each step 2021-09-17 13:25:18 +02:00
c58d1eccc5 AddAddress: rename callback method 2021-09-16 20:49:46 +02:00
aae2ee32f6 add-address sub-component key 2021-09-16 19:56:15 +02:00
9ff58fe0c3 Address: replace variable entity.type by entity.name 2021-09-16 19:56:15 +02:00
a5ceb551eb twig pass arguments to vue_address with dataset attributes 2021-09-16 19:56:15 +02:00
17a3f45247 AddAddress final submit, managed by callback and not an event 2021-09-16 19:56:15 +02:00
374ac652d4 AddAddress: submitNewAddress return callback payload, and parent patch date then postTo (TO BE MORE TESTED)
improve pattern for better reusability of AddAddress component
2021-09-04 14:26:03 +02:00
cdc6cf211a AddAddress option buttonType: component manage button in edit or create context 2021-08-17 15:41:03 +02:00
1b3904f8e3 rename variable displayText 2021-08-16 10:19:53 +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
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
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
9f3ceb94f0 adding options to custom button, and improve stepWithModal options 2021-08-06 16:39:21 +02:00
01cc230136 Submitting address, and validFrom field 2021-08-05 22:04:41 +02:00
884de5c19e address refactoring: resolve lack of flexibility for many implementations (modal/not, overriding, options, etc. )
address creation/edition is unchanged
many variables are renamed to improve logic and readability
2021-08-04 23:24:52 +02:00
a8047fd89b make changes to avoid git conflict when we will merge bootstrap5 branch 2021-08-02 15:41:37 +02:00
d916b575da AddAddress modal: make title dynamically passed by parent 2021-08-02 13:26:23 +02:00
70a4c34865 move vue AddAddress inside Address component 2021-07-14 14:46:44 +02:00
5a47ebed42 Merge branch 'fix_addresses_issues' into bootstrap5_replacing_scratch 2021-07-14 14:01:08 +02:00
80eb5519bc adapt AddAddress modal to bootstrap: position, responsive, form 2021-07-14 13:36:49 +02:00
342fd3e297 batch rename sc-button cancel 2021-07-05 21:22:05 +02:00
05a1f7d041 batch rename class sc-button (scratch) by btn (bootstrap) 2021-07-05 19:02:09 +02:00
nobohan
67c31e781d address: back to the page when the address is filled 2021-07-05 15:07:21 +02:00
nobohan
36eb247995 address: add maxlength, upd default map center and add loader messages in addresses form 2021-06-24 16:02:57 +02:00
nobohan
06daf35e96 addresses: edit address for person 2021-06-16 14:39:02 +02:00
nobohan
35d35c9f40 addresses: edit address (WIP) 2021-06-15 21:03:50 +02:00
nobohan
000ae6c2cb address: style (css) 2021-06-15 08:04:38 +02:00
nobohan
7c26f0a56c address: add a new address to a person 2021-06-15 07:49:35 +02:00
nobohan
c378f59f5a addresses: person address history 2021-06-11 16:20:40 +02:00
nobohan
14db7265fe addresses: fix POST if isNoAddress 2021-06-11 15:06:56 +02:00
nobohan
1b709d39a4 addresses: enable POSTing Postal Code entities (back + front) 2021-06-11 14:33:22 +02:00
nobohan
5daf5cbe84 address: write new address (separate street and streetNumber) 2021-06-11 11:12:44 +02:00