71e146e4f0
fix for ThirdParty create flow.
...
- Added `parent` property handling in `ThirdPartyEdit.vue`, `Create.vue`, and related components for better association with parent entities.
- Updated `Thirdparty` and `ThirdPartyWrite` types to include `parent` property and ensure type safety.
- Adjusted translations and messages to reflect the new parent entity association concept.
2025-10-24 16:22:09 +02:00
4234377b7e
Replace OnTheFly.js with OnTheFly.ts and introduce ThirdPartyEdit.vue for enhanced third-party entity management
...
- Migrated API functions in `OnTheFly.js` to `OnTheFly.ts` for improved type safety using TypeScript.
- Added `ThirdPartyEdit.vue` to streamline third-party creation and editing with a Vue component structure.
- Updated third-party-related types in `types.ts` to improve consistency and explicitly distinguish `company`, `contact`, and `child` entities.
- Enhanced `AddPersons.vue` and dependent components to support adding third-party contacts.
- Adjusted styles and removed `.btn-tpchild` for consistency in button definitions across SCSS.
2025-10-24 14:21:39 +02:00
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
27548ad654
Add support for person identifiers workflow: update PersonEdit component, API methods, and modals for identifier handling during person creation. Adjust related types for improved consistency.
2025-09-22 14:03:48 +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
dcdfba5ccd
eslint fixes
2025-07-09 17:46:36 +02:00
borisw
6eeb717b1a
Refactor third-party type imports and update related components
...
- Changed import path for ThirdParty type in TypeThirdParty.vue and updated its usage.
- Refactored PersonText.vue to import Person and AltName types from ChillPersonAssets.
- Updated types.ts in ChillThirdPartyBundle to include a new 'type' field in the Thirdparty interface.
- Modified TicketBundle types to accommodate Thirdparty type in CallerState.
- Adjusted AddresseeSelectorComponent.vue to use 'thirdparty' instead of 'third_party'.
- Refined BannerComponent.vue to improve readability and maintainability.
- Updated CallerSelectorComponent.vue to reflect changes in entity types.
- Enhanced TicketHistoryListComponent.vue to handle both Person and Thirdparty types.
- Refactored TicketHistoryPersonComponent.vue to accept both Person and Thirdparty entities.
2025-07-07 16:35:31 +02:00
Boris Waaub
a8dd1b3548
1277 refacto use symfony translation
2025-06-16 10:59:42 +00:00
aa0785fc71
Apply prettier rules
2024-11-14 18:47:38 +01:00
0454e5d758
eslint corrections in mainbundle
2024-11-14 16:46:07 +01:00
27ecae4486
first eslint corrections
2024-10-31 17:28:02 +01:00
e982e81900
FIX [post] adjust vue components to allow thirdparty to be posted with new profession type as string
2023-03-06 13:01:21 +01:00
f68c69d443
refactor to use store for storing events
2022-05-17 16:57:31 +02:00
6c246a0d38
allow to edit civility in onTheFly
2022-05-06 12:54:01 +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
1812592d43
fix create person on the fly
2022-03-25 17:22:10 +01:00
dd4d463c42
fix bug when setting civility to null in on the fly
2022-03-24 19:32:53 +01:00
06cc84a21f
conditional statements to allow for personne moral creation and edit
2022-03-24 11:40:06 +01:00
688914906d
merge firstname branch
2022-03-24 11:13:07 +01:00
506118b3f1
edit and create of thirdparty pers physique is possible, but current civility and profession don't display yet in edit form
2022-03-23 16:10:02 +01:00
ff4b90835e
show current civility and profession in edit form + fix saving of edited information
2022-03-09 20:29:38 +01:00
d5501bcfbd
remove console logs to avoid mess in the console
2022-03-09 20:07:41 +01:00
a6ac6ee6d8
fix merge conflicts
2022-02-28 19:47:22 +01:00
c12f633829
fixes
2022-02-28 13:52:41 +01:00
fe89704672
Merge remote-tracking branch 'origin/master' into issue345_internal_thirdparty_contact
2022-02-28 11:39:16 +01:00
c416f1ef6d
fix bug to resolve onthefly component within thirdparty renderbox
2022-02-25 13:58:17 +01:00
fffed6e3f6
Attempt to add on-the-fly for parent badge
...
Error: failed to resolve component on-the-fly
2022-02-23 10:24:01 +01:00
nobohan
568c4b60ef
merge master into issue388
2022-02-22 12:47:56 +01:00
nobohan
ca6bfea51f
Create 3rd party contact: fix adding civility and profession to payload
2022-02-18 14:17:39 +01:00
nobohan
8c7da5f80c
Merge branch 'master' into issue345_internal_thirdparty_contact
2022-02-18 11:22:51 +01:00
caaebd593b
misc fixes for Thirdparty / addPerson
...
* set default values for ThirdParty in ThirdParty.vue
* set correct value for binding with phone (telephone instead of
phonenumber)
* add validation on ThirdParty/denomination: at least two characters, no
Null value
2022-02-17 22:42:52 +01:00
e4793e1a77
minor fixes
2022-02-16 13:52:20 +01:00
nobohan
9d651a70e9
merge last AddPerson branch
2022-02-16 11:23:21 +01:00
nobohan
99afd2e830
OnTheFly: set a dynamic default
2022-02-14 22:03:11 +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
c34ce48a53
Merge branch 'master' into 'issue427_returnPath'
...
# Conflicts:
# CHANGELOG.md
2022-02-11 13:16:40 +00:00
bb93cb23a7
fix handling of address
2022-02-11 12:09:42 +01:00
4de2cbe807
return interchange of name and text back to how it was before -> solves one bug recreates the other
2022-02-09 09:53:15 +01: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
1f0ef6e187
on-the-fly: close modal only after validation
2022-02-03 11:07:32 +01:00
nobohan
a78f29cffc
on the fly component: add returnPath when viewing
2022-02-01 17:44:55 +01:00
b87f14255d
bugfix of double civility abbreviation after edit
2022-01-24 14:44:53 +01:00