From 5b67cb75b1e218feeb2c2dbb42b548c4c5b1ce9f Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 20 Jan 2023 20:18:27 +0000 Subject: [PATCH] Bug 32694: Fix value of 'Keep current' option in receiving This patch restores missing template toolkit markers around the variable To test: 1 - Order an item in a basket 2 - Close the basket 3 - Attempt to receive the item, leaving budget as 'Keep current' 4 - 500 Error: C4::Acquisition::ModReceiveOrder(): DBI Exception: DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (koha_cclsny.aqorders, CONSTRAINT aqorders_budget_id_fk FOREIGN KEY (budget_id) REFERENCES aqbudgets (budget_id) ON DELETE CASCADE ON UPDATE CASCADE) at /usr/share/koha/intranet/cgi-bin/acqui/finishreceive.pl line 120 5 - Apply patch 6 - Receive order successfully! --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index f28188c1fa..827adcbfc9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -299,7 +299,7 @@ [% END %]