From ace4369c980f079e5d7d694ae508e845ca33f4f4 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 24 Sep 2025 14:18:10 +0000 Subject: [PATCH] Bug 40870: Set the fund code to selected on acqui/neworderempty.pl To tes: 1- add an order to a basket in acquisitions 2- confirm your order shows in the basket with a fund code selected 3- click Modify on your order 4- note that Fund is empty in the modify form and you need to re-select it 5. APPLY PATCH 6. Try steps 1 -4 again, the correct fund should be set on page load Signed-off-by: Wendy Bartlett --- .../prog/en/modules/acqui/neworderempty.tt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 5516e05f1c8..782f0dc2d94 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -609,9 +609,21 @@ [% bdgclass=budget_loo.b_active? "": "b_inactive" | html %] [% END %] - + [% IF ( budget_loo.b_sel ) %] + + [% ELSE %] + + [% END %] [% END %] Required -- 2.39.5