From 6de32d198f9367b63d72fe9f566806ad2af72201 Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Tue, 7 Oct 2025 20:15:50 +0200 Subject: [PATCH] Remove redundant current configuration summary section - Remove the 'Current Configuration' section that duplicated information - Users can see their configuration directly in the form above - Simplify configuration page by removing redundant summary - Improve user experience with cleaner, more focused interface --- admin/setup_mvp.php | 42 ------------------------------------------ 1 file changed, 42 deletions(-) diff --git a/admin/setup_mvp.php b/admin/setup_mvp.php index d4df487..a1c0ec2 100644 --- a/admin/setup_mvp.php +++ b/admin/setup_mvp.php @@ -223,48 +223,6 @@ print ''; print ''; -// Print current configuration summary -print '
'; -print '
' . $langs->trans("CurrentConfiguration") . '
'; - -if (empty($mappings_by_line)) { - print '
' . $langs->trans("NoConfigurationFound") . '
'; -} else { - // Group by section for display - $mappings_by_section = array(); - foreach ($mappings_by_line as $line => $account_codes) { - if (isset($ca3_definitions[$line])) { - $section = $ca3_definitions[$line]['section']; - if (!isset($mappings_by_section[$section])) { - $mappings_by_section[$section] = array(); - } - $mappings_by_section[$section][$line] = $account_codes; - } - } - - foreach ($mappings_by_section as $section_code => $section_mappings) { - $section_info = $section_headers[$section_code]; - - print '
' . $section_info['title'] . '
'; - - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - - foreach ($section_mappings as $line => $account_codes) { - print ''; - print ''; - print ''; - print ''; - print ''; - } - print '
' . $langs->trans("CA3Line") . '' . $langs->trans("SelectedAccounts") . '' . $langs->trans("AccountCount") . '
' . $line . '' . implode(', ', $account_codes) . '' . count($account_codes) . '
'; - print '
'; - } -} } elseif ($tab == 'templates') { // Tab 2: Template Management