c19206be0c
Enhance validation in PersonEdit
: Introduce hasValidationError
and validationError
helpers for form inputs. Improve error feedback for fields such as firstName
, lastName
, gender
, and others. Refactor postPerson
to handle validation exceptions and map errors to specific fields. Update related methods, styles, and API error type definitions.
2025-09-22 14:03:53 +02:00
4367ed086e
Enhance person creation workflow: Add onPersonCreated
event handling in Create
, CreateModal
, and AddPersons
. Update type definitions and integrate event emission for streamlined person management.
2025-09-22 14:03:51 +02:00
852523e644
Refactor person management workflow: Introduce SetGender
, SetCivility
, and SetCenter
lightweight interfaces. Replace PersonState
with PersonEdit
for streamlined type usage. Enhance queryItems
logic and API methods for better consistency. Adjust AddPersons
modal to handle query input.
2025-09-22 14:03:47 +02:00
c05d0aad47
Refactor person creation workflow: Introduce PersonEdit
component and integrate it across Create
, Person.vue
, and modals for improved modularity. Update type definitions and API methods for consistency.
2025-09-22 14:03:47 +02:00
1c0ed9abc8
Enhance entity creation: Add CreateModal
and integrate with AddPersons
workflow.
2025-09-22 14:03:42 +02:00
e4fe5bff68
Allow creating new entities directly from AddPersons
modal
2025-09-22 14:03:25 +02:00
4c73c4d9d0
Refactor AddPersons
modal into a separate PersonChooseModal
component for improved modularity and reusability.
2025-09-22 14:03:24 +02:00
0204bdd38d
Restore features after merging
2025-07-09 17:46:16 +02:00
392fd01b56
Merge branch 'master' into ticket-app-master
...
# Conflicts:
# src/Bundle/ChillMainBundle/Export/Formatter/CSVFormatter.php
# src/Bundle/ChillMainBundle/Export/Formatter/CSVListFormatter.php
# src/Bundle/ChillMainBundle/Export/Formatter/SpreadsheetListFormatter.php
# src/Bundle/ChillMainBundle/Resources/public/vuejs/PickEntity/PickEntity.vue
# src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/GeographicalUnitStatAggregator.php
# src/Bundle/ChillPersonBundle/Resources/public/types.ts
# src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons.vue
2025-07-09 13:44:23 +02:00
aed114c75c
Fix Eslint issues
2025-07-08 13:38:51 +00:00
Boris Waaub
3df4043eb9
Afficher les patients suggérés et ajouter un sélecteur urgent/non urgent
2025-07-04 07:45:33 +00:00
45e193ff6d
Merge remote-tracking branch 'origin/master' into ticket-app-master
2025-06-20 12:53:20 +02:00
Boris Waaub
a8dd1b3548
1277 refacto use symfony translation
2025-06-16 10:59:42 +00:00
49cbb6a002
Clean skeleton (and add Junie guidelines)
2025-06-04 08:13:35 +00:00
aa0785fc71
Apply prettier rules
2024-11-14 18:47:38 +01:00
22ecb11227
JS corrections in ChillPersonBundle required by ESLint
2024-11-12 15:38:46 +01:00
f05c25853c
Fix of errors: automatic and some manual
2024-11-04 19:56:03 +01:00
27ecae4486
first eslint corrections
2024-10-31 17:28:02 +01:00
1993fac1c4
Update button rendering in AddPersons.vue
...
This commit modifies the button rendering in AddPersons.vue component to ensure that it doesn't crash if 'buttonTitle' is undefined. It does so by providing an empty string as a fallback in case 'buttonTitle' is unavailable, improving the component's stability.
2024-06-11 09:39:32 +02:00
d8f80f3d02
wip on app2
2022-06-23 12:26:48 +02:00
6c246a0d38
allow to edit civility in onTheFly
2022-05-06 12:54:01 +02:00
nobohan
bad5506b98
person: create a person with address (and household without position (remove required position for household member)
2022-04-19 18:01:25 +02:00
nobohan
355c5cf8fd
person: add address when creating person in AddPerson: fix POSTing household
2022-04-19 09:54:42 +02:00
nobohan
57ed90a696
person: post an address when creating a person
2022-04-15 13:41:47 +02:00
nobohan
ae45f5f40b
person: add address when creating a person
2022-04-15 11:11:41 +02:00
nobohan
7a2151f23a
AddPerson: add civility when creating a person
2022-04-14 18:04:36 +02:00
095afb90c7
AddPerson search: fix aborting query when the query is altered by user
2022-04-06 21:47:01 +02:00
nobohan
02e5a1158d
Create 3rd paerty contact: close modal after creation and check for errors
2022-02-18 14:44:19 +01:00
nobohan
9d651a70e9
merge last AddPerson branch
2022-02-16 11:23:21 +01:00
nobohan
94729a66ca
AddPersons: add suggestion of name when creating new person or thirdparty
2022-02-14 12:22:02 +01:00
nobohan
1c3f6c7c1e
AddPersons: allow creation of person or thirdparty depending on allowed types
2022-02-14 11:12:37 +01:00
nobohan
f8888462f1
addPersons: allow creation of person or thirdparty only (no users)
2022-02-14 10:23:49 +01:00
7dd6cd04ba
Merge branch 'issue419_AddPersons_clear_ul' into 'master'
...
Issue419 remove ul-li in AddPersons
See merge request Chill-Projet/chill-bundles!328
2022-02-11 16:31:55 +00:00
bc2d4c1066
Merge remote-tracking branch 'origin/issue433_email_addPerson' into issue345_internal_thirdparty_contact
2022-02-04 11:09:51 +01:00
298b597dd0
comment removed
2022-02-04 10:50:59 +01:00
481456a038
Merge conflicts fixed
2022-02-04 10:25:46 +01:00
nobohan
4185b660cc
AddPersons: remove ul-li html tags from AddPersons
2022-02-03 16:17:05 +01:00
nobohan
1f0ef6e187
on-the-fly: close modal only after validation
2022-02-03 11:07:32 +01:00
a0bc6c7604
csfixes
2022-01-31 18:47:06 +01:00
a4457664d4
bugfix addPersons
2022-01-31 18:33:29 +01:00
b79885cd21
bugfix creation of person or thirdparty through onTheFly
2022-01-31 17:45:04 +01:00
d1a0934bb1
search household in household mmebers editor
2022-01-29 02:38:47 +01:00
0f2cbbe553
bugfix emit saveFormOnTheFly and add newly created contact to suggestion list immediately
2022-01-24 14:24:56 +01:00
7e932e838f
Squashed commit of the following:
...
commit 9e767fa3e0788d87437c235e51fcdc4f26f75d98
Author: Julien Fastré <julien.fastre@champs-libres.coop >
Date: Mon Jan 17 15:28:02 2022 +0100
traductions
commit db65134743
Author: nobohan <juminet@gmail.com >
Date: Mon Jan 17 12:17:22 2022 +0100
add person: increase z-index of toast and wait for validation before closing modal
commit 7af4c3434e
Merge: a09c8ee8a
46c6d0e29
Author: Julien Fastré <julien.fastre@champs-libres.coop >
Date: Sun Jan 16 22:51:45 2022 +0100
Merge remote-tracking branch 'origin/master' into issue357_front_end_validation
commit a09c8ee8af
Author: nobohan <juminet@gmail.com >
Date: Wed Jan 12 15:47:11 2022 +0100
upd CHANGELOG
commit a312a9463d
Author: nobohan <juminet@gmail.com >
Date: Wed Jan 12 15:29:32 2022 +0100
address: display error message if some fields are empty (street & streetnumber)
commit 0035128138
Author: nobohan <juminet@gmail.com >
Date: Wed Jan 12 14:47:43 2022 +0100
address: display error message if some fields are empty
commit 49cb154672
Author: nobohan <juminet@gmail.com >
Date: Tue Jan 11 20:58:00 2022 +0100
address: add field validation (WIP)
commit 1a7ec9e396
Author: nobohan <juminet@gmail.com >
Date: Tue Jan 11 17:16:43 2022 +0100
Activity: fix vuejs warning
commit fa0b9271c2
Author: nobohan <juminet@gmail.com >
Date: Tue Jan 11 16:13:23 2022 +0100
location: treat 422 error when POSTing new location
commit c7b9a1a3fe
Author: nobohan <juminet@gmail.com >
Date: Tue Jan 11 16:00:29 2022 +0100
location: fix error when creating a new location: a new location could not be added to the availableLocations due to refactoring
commit f1c61a2387
Author: nobohan <juminet@gmail.com >
Date: Tue Jan 11 15:20:33 2022 +0100
person: treat 422 error in AddPerson for thirdparty
commit 8f6a70b240
Author: nobohan <juminet@gmail.com >
Date: Tue Jan 11 11:30:05 2022 +0100
person: add validation for required fields in on-the-fly person
commit 40e4bf953f
Author: nobohan <juminet@gmail.com >
Date: Tue Jan 11 09:34:15 2022 +0100
vuejs: better violations message in 422 error handling
commit 378f3a16fc
Author: nobohan <juminet@gmail.com >
Date: Mon Jan 10 18:11:02 2022 +0100
person: on-the-fly person: first implementation of makeFetch for posting person
2022-01-17 15:28:49 +01:00
95027e93c6
fix translations for AddPersons in PickEntity
2022-01-10 12:41:47 +01:00
45dd21e02a
add component and type to add user dynamically
2022-01-03 15:42:24 +01:00
45c608cd48
AddPerson: optimize request while searching
...
* wait for a person to finish to type: delay before launching request;
* cancel previous requests, if any
2021-12-15 22:14:20 +01:00
db9a203df0
otf: prepare to create vue root component: moving files
2021-10-01 12:18:40 +02:00
bac8e8d0b8
cleaning
2021-09-29 19:27:22 +02:00
008a10dab8
otf: patch person and thirdparty from the store, emit parent method saveFormOnTheFly()
2021-09-29 17:47:21 +02:00