From 60539573531f4af39b9eb38f5ee055362a86cedf Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Thu, 2 Oct 2025 18:00:36 +0200 Subject: [PATCH] Fix main interface configuration button Main Interface Updates: - Changed configuration button link from admin/setup.php to admin/setup_mvp.php - Updated button text from 'ConfigureModule' to 'ConfigurePCGAccounts' - Added new translation keys in both English and French - Button now correctly points to our custom MVP setup page This fixes the issue where the button was taking users to the standard Dolibarr configuration page instead of our custom CA-3 setup interface. --- declarationtvaindex.php | 2 +- langs/en_US/declarationtva.lang | 2 ++ langs/fr_FR/declarationtva.lang | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/declarationtvaindex.php b/declarationtvaindex.php index e4d074d..8b0d2f6 100644 --- a/declarationtvaindex.php +++ b/declarationtvaindex.php @@ -177,7 +177,7 @@ print ''; print '
'; print '
' . $langs->trans("DeclarationTVAConfiguration") . '
'; print ''; print '
'; diff --git a/langs/en_US/declarationtva.lang b/langs/en_US/declarationtva.lang index 05209a6..d3d98db 100644 --- a/langs/en_US/declarationtva.lang +++ b/langs/en_US/declarationtva.lang @@ -370,3 +370,5 @@ SelectedAccounts = Selected Accounts AccountCount = Account Count ErrorCSRFToken = Security token error. Please try again. NoChangesDetected = No changes detected in the configuration. +DeclarationTVAConfiguration = DeclarationTVA Configuration +ConfigurePCGAccounts = Configure PCG Accounts diff --git a/langs/fr_FR/declarationtva.lang b/langs/fr_FR/declarationtva.lang index bf149e5..f38f956 100644 --- a/langs/fr_FR/declarationtva.lang +++ b/langs/fr_FR/declarationtva.lang @@ -359,3 +359,5 @@ SelectedAccounts = Comptes sélectionnés AccountCount = Nombre de comptes ErrorCSRFToken = Erreur de jeton de sécurité. Veuillez réessayer. NoChangesDetected = Aucun changement détecté dans la configuration. +DeclarationTVAConfiguration = Configuration DeclarationTVA +ConfigurePCGAccounts = Configurer les comptes PCG