From 1f3042547bccb2c88d59b80696da94dc47ea6282 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Sun, 22 Feb 2026 21:48:26 +0100 Subject: [PATCH] fix: correct billing history sidebar page_id for menu highlight The page_id was 'billing' but the URL /merchants/billing/invoices yields currentPage='invoices' from the last URL segment. Change page_id to 'invoices' so the highlight matches. Co-Authored-By: Claude Opus 4.6 --- app/templates/merchant/partials/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/merchant/partials/sidebar.html b/app/templates/merchant/partials/sidebar.html index d4fbae07..7278fa6f 100644 --- a/app/templates/merchant/partials/sidebar.html +++ b/app/templates/merchant/partials/sidebar.html @@ -78,7 +78,7 @@ {{ section_header('Billing', 'billing', 'credit-card') }} {% call section_content('billing') %} {{ menu_item('subscriptions', '/merchants/billing/subscriptions', 'clipboard-list', 'Subscriptions') }} - {{ menu_item('billing', '/merchants/billing/invoices', 'currency-euro', 'Billing History') }} + {{ menu_item('invoices', '/merchants/billing/invoices', 'currency-euro', 'Billing History') }} {% endcall %}