505 Commits

Author SHA1 Message Date
7af85bc401 AddressRenderBox created and added to PersonRenderBox, still some styling issue with address. Render options not done yet 2021-08-17 16:14:08 +02:00
cdc6cf211a AddAddress option buttonType: component manage button in edit or create context 2021-08-17 15:41:03 +02:00
1a6c0529cc date formatting using dateToISO function, still fix with translations. + record-actions inserted via <slot> 2021-08-17 14:05:48 +02:00
f5c5038fda v-for loop on add-evaluation subcomponent 2021-08-17 11:42:30 +02:00
436d583f65 getter/setter for form input date 2021-08-17 11:42:30 +02:00
533865c41a show evaluation details 2021-08-17 11:42:30 +02:00
14c0c9763f fix styles flashbag and action-row 2021-08-17 11:42:30 +02:00
a54e70f9e0 set small fields in form evaluation 2021-08-17 11:42:30 +02:00
63b820784f save/hide form evaluation 2021-08-17 11:42:30 +02:00
71b54622e2 simplify styles cascade 2021-08-17 11:42:30 +02:00
190549180b add FormEvaluation subcomponent 2021-08-17 11:42:30 +02:00
375326fc32 add/remove evaluation from evaluation list 2021-08-17 11:42:30 +02:00
a1435314a0 comment all console.log 2021-08-17 11:42:30 +02:00
8d98a144fd automatic rearrange code (indentation: 3) 2021-08-17 11:42:30 +02:00
d0fa28db2a display evaluations for action 2021-08-17 11:42:30 +02:00
9ac14ff5e3 prepare subcomponents for evaluation, share addResult styles 2021-08-17 11:42:30 +02:00
d67483fd9a add options on button for AddPersons component: size, type and display
* size: add bootstrap class : btn-sm, btn-lg..
* type: override chill button class : btn-update, btn-chill-beige
* display: override default : true
2021-08-17 11:42:30 +02:00
3156706c2b vue accompanyingcourse_work: prepare evaluations, + translations chains + styles border 2021-08-17 11:42:30 +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
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
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
77fe497994 altNames displayed dynamically 2021-08-14 12:01:44 +02:00
b89a66b20c dynamic properties displayed 2021-08-13 18:31:15 +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
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
438134690f styling fixed with proper class cascade 2021-08-13 14:57:56 +02:00
166144e57e first conditionalities added analog to twig template 2021-08-13 13:15:08 +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
6bb5440220 injecting person data into renderbox, no styling yet 2021-08-12 16:23:58 +02:00
c48586cd0e renaming of PersonItem into ParticipationItem 2021-08-12 15:55:35 +02:00
205c48f58a courseLocation: init Address context in the store 2021-08-12 15:55:10 +02:00
21fd69488f start of PersonRenderBox in vue 2021-08-12 15:21:33 +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
028af50dbc Vue HouseHoldAddress is now unused and can be dropped 2021-08-08 09:50:35 +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
75be8aa557 enable vue CourseLocation and mark place where it must connect to Address component 2021-08-07 12:00:08 +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