From dfea2370c2c70ab8005f39a7fcf7a05d3d6addf7 Mon Sep 17 00:00:00 2001 From: Sam Lau Date: Wed, 24 Jul 2024 16:53:25 +0000 Subject: [PATCH] Bug 37450: Fix 'Close basket' button from list of baskets To test: 1) In acquisitions, have a vendor with an item (or items) in their basket. Search for this vendor. 2) From the actions column, select the arrow and then press 'Close this basket' 3) Clicking on this option will not close the basket and brings us to the wrong page 4) Apply patch 5) Try to close the basket again, and this time, it is closed successfully Signed-off-by: Roman Dolny --- .../intranet-tmpl/prog/en/modules/acqui/booksellers.tt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt index 673d6d15ab..a4718b0446 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -192,7 +192,14 @@ [% IF basket.uncertainprices %]
  • Uncertain prices
  • [% ELSIF basket.total_items && !basket.is_standing %] -
  • Close this basket
  • +
    + [% INCLUDE 'csrf-token.inc' %] + + + + +
  • +
    [% END %] -- 2.39.2