From 7947f7872b23674b3e032bbeb97faf74569f97d5 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 20 Feb 2024 15:37:42 +0000 Subject: [PATCH] Bug 34478: Fix various parameters on housebound details page This patch converts the delivery delete buttons to a form and changes the corresponding op check in the script. The patch also fixes an error in the form markup and corrects the op parameter name in several links. Signed-off-by: Jonathan Druart --- .../prog/en/modules/members/housebound.tt | 19 ++++++++++++------- members/housebound.pl | 2 +- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt index 2f88b881c9..b304ea4d4d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt @@ -249,9 +249,8 @@ [% ELSIF ( op == 'visit_update_or_create' ) %]

Manage housebound deliveries

-
[% INCLUDE 'csrf-token.inc' %] - action="/cgi-bin/koha/members/housebound.pl"> [% IF ( visit ) %] @@ -381,7 +380,7 @@
[% PROCESS 'homebound-details' %]
@@ -415,8 +414,14 @@ - Edit - Delete + Edit + + [% INCLUDE 'csrf-token.inc' %] + + + + +
[% END %] @@ -424,7 +429,7 @@ [% END %]
- Add a new delivery @@ -449,7 +454,7 @@ [% INCLUDE 'columns_settings.inc' %]