From c7d13ee7a32fc520623eb1730c97fc1e9eb47033 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 3 Aug 2026 15:44:00 +0100 Subject: [PATCH] Bug 40445: (follow-up) Move TT values out of kohaTable script blocks xt/tt_kohaTable_tidy.t forbids mixing Template::Toolkit tags with .kohaTable() calls inside the same [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt index 5c3332abe4..99ada08844 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt @@ -407,32 +407,36 @@ $("#income").text('[% ctotal | $Price %] ([% cctotal | $Price %])'); $("#outgoing").text('[% dtotal | $Price %] ([% cdtotal | $Price %])'); }); + const cashupModalData = { + hasAuthorisedValues: [% reconciliation_note_avs ? 'true' : 'false' | html %], + noteRequired: [% reconciliation_note_required ? 'true' : 'false' | html %], + };