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.
This commit is contained in:
Frank Cools 2025-10-02 18:00:36 +02:00
parent ff64320ece
commit 6053957353
3 changed files with 5 additions and 1 deletions

View File

@ -177,7 +177,7 @@ print '</div>';
print '<div class="fiche">'; print '<div class="fiche">';
print '<div class="titre">' . $langs->trans("DeclarationTVAConfiguration") . '</div>'; print '<div class="titre">' . $langs->trans("DeclarationTVAConfiguration") . '</div>';
print '<div class="info">'; print '<div class="info">';
print '<a href="admin/setup.php" class="butAction">' . $langs->trans("ConfigureModule") . '</a>'; print '<a href="admin/setup_mvp.php" class="butAction">' . $langs->trans("ConfigurePCGAccounts") . '</a>';
print '</div>'; print '</div>';
print '</div>'; print '</div>';

View File

@ -370,3 +370,5 @@ SelectedAccounts = Selected Accounts
AccountCount = Account Count AccountCount = Account Count
ErrorCSRFToken = Security token error. Please try again. ErrorCSRFToken = Security token error. Please try again.
NoChangesDetected = No changes detected in the configuration. NoChangesDetected = No changes detected in the configuration.
DeclarationTVAConfiguration = DeclarationTVA Configuration
ConfigurePCGAccounts = Configure PCG Accounts

View File

@ -359,3 +359,5 @@ SelectedAccounts = Comptes sélectionnés
AccountCount = Nombre de comptes AccountCount = Nombre de comptes
ErrorCSRFToken = Erreur de jeton de sécurité. Veuillez réessayer. ErrorCSRFToken = Erreur de jeton de sécurité. Veuillez réessayer.
NoChangesDetected = Aucun changement détecté dans la configuration. NoChangesDetected = Aucun changement détecté dans la configuration.
DeclarationTVAConfiguration = Configuration DeclarationTVA
ConfigurePCGAccounts = Configurer les comptes PCG