From fcbfc370d7b7e1128d82fb9d19d42755b6680e33 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 13 Mar 2025 21:35:32 +0000 Subject: [PATCH] Bug 31698: Report errors and failures back to request.tt --- .../prog/en/includes/holds_table.inc | 10 ++- .../prog/en/modules/reserve/request.tt | 83 ++++++++++++++++--- 2 files changed, 82 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc index 2d65e83dc1f..d031f55dc2e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc @@ -49,7 +49,15 @@ [%- END -%] [% SET tr_class = hold.suspend ? 'suspend' : '' %] - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 03e0b966edb..d00b7b18fa8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -174,6 +174,60 @@ [% END %] + [% IF ( hold_move_successes ) %] +
+

Moved the following holds:

+ +
+ [% END %] + [% IF ( hold_move_failures ) %] +
+ One or more holds were not moved due to following errors: + +
+ [% END %] + [% IF ( failed_holds ) %]
One or more holds were not placed due to following errors: @@ -1437,12 +1491,12 @@