From a603a2c7a0a1949ecd592ca94bb3b06f9f3a90b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Tue, 6 Aug 2024 03:38:00 +0200 Subject: [PATCH] feat: add GANDI provider --- assets/components/tracking/ConnectorForm.tsx | 24 +++- assets/utils/api/connectors.ts | 3 +- assets/utils/providers/index.tsx | 8 ++ src/Config/Connector/ConnectorInterface.php | 2 - src/Config/Connector/GandiConnector.php | 135 ++++++++++++++++++ src/Config/Connector/OvhConnector.php | 4 +- src/Config/ConnectorProvider.php | 1 + src/Controller/ConnectorController.php | 20 ++- .../ProcessDomainTriggerHandler.php | 15 +- translations/translations.pot | 41 ++++-- 10 files changed, 226 insertions(+), 27 deletions(-) create mode 100644 src/Config/Connector/GandiConnector.php diff --git a/assets/components/tracking/ConnectorForm.tsx b/assets/components/tracking/ConnectorForm.tsx index c59dd77..5776298 100644 --- a/assets/components/tracking/ConnectorForm.tsx +++ b/assets/components/tracking/ConnectorForm.tsx @@ -90,6 +90,29 @@ export function ConnectorForm({form, onCreate}: { form: FormInstance, onCreate: > + + {t`It indicates the organization that will pay for the ordered product`}} + required={false}> + + + + } + + { + provider !== undefined && <> } -