From eeb7ae6948e7208ac8c344ebb23319676ba2c457 Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Wed, 8 Oct 2025 16:36:07 +0200 Subject: [PATCH] Add more debugging and fix form field for VAT refund threshold --- admin/setup_mvp.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/admin/setup_mvp.php b/admin/setup_mvp.php index 0ad1d19..292631b 100644 --- a/admin/setup_mvp.php +++ b/admin/setup_mvp.php @@ -89,6 +89,10 @@ if ($action == 'update_journal_config') { // Handle VAT refund threshold configuration updates if ($action == 'update_vat_refund_threshold') { + // Debug: Log all POST data + error_log("VAT Refund Threshold Debug - All POST data:"); + error_log("POST data: " . print_r($_POST, true)); + $threshold_config = array( 'refund_threshold' => GETPOST('vat_refund_threshold', 'float'), 'refund_threshold_enabled' => GETPOST('vat_refund_threshold_enabled', 'int') @@ -628,7 +632,7 @@ print ''; print '' . $langs->trans("VATRefundThreshold") . ''; print ''; print '' . $langs->trans("VATRefundThresholdHelp") . '
'; - print ''; + print ''; print ''; print '';