From c51f4b7ccabb6f0fb5f3fa69543d40825ffca023 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 30 Apr 2026 16:50:51 +0100 Subject: [PATCH] Bug 40445: (QA follow-up) Add missing [% USE raw %] in cashup_summary.inc The cashup summary modal include uses the \$raw filter on Koha.CSPNonce, but never declared [% USE raw %]. The QA template tester (which processes templates through a fresh Template::Toolkit instance) reports "valid_template: filter not found" because the \$raw plugin is not loaded. Add [% USE raw %] at the top of the include, matching the convention used by other includes that emit nonce attributes (e.g. includes/str/cataloging_additem.inc). Test plan: 1. Run qa-test-tools against the bug branch -- cashup_summary.inc passes valid_template. 2. Open the cashup summary modal -- the