chill-bundles/src/Bundle/ChillThirdPartyBundle
Julien Fastré da6589ba87
Add ThirdPartyHasEmail validator
Introduce a new validator that ensures a third party has an email address, including the corresponding translation for error messaging and unit tests to verify its functionality.
2024-10-04 13:41:19 +02:00
..
2024-10-04 13:41:19 +02:00
2023-10-17 13:27:03 +02:00
2024-10-04 13:41:19 +02:00
2021-03-18 13:37:13 +01:00
2021-03-18 13:37:13 +01:00
2021-03-18 13:37:13 +01:00
2021-03-18 13:37:13 +01:00
2021-03-18 13:37:13 +01:00

ThirdParty Module

This module add third parties to chill.

Those parties are elements which can be handled in other entities: people, contacts, etc.

Each third party is associated to multiple types, which can help to filter parties in element form. Exemple: do not show list of an hospital where you should display only doctors.

How to add a third party type

Create a service which implements Chill\ThirdPartyBundle\ThirdPartyType\ThirdPartyProviderInterface and tag it with: chill_3party.provider:

services:
    Cire\CireBundle\ThirdPartyType\NotarisType:
        tags:
            - { name: chill_3party.provider }