From 2c068e18d4ab9b79f3def140cff1ad6789029dbe Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Tue, 6 Aug 2024 13:22:10 +0000 Subject: [PATCH] Bug 36915: (follow-up) Include branchname in sample notice --- Koha/Booking.pm | 2 +- installer/data/mysql/en/mandatory/sample_notices.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Koha/Booking.pm b/Koha/Booking.pm index e5297d8d17..de230e0774 100644 --- a/Koha/Booking.pm +++ b/Koha/Booking.pm @@ -262,7 +262,7 @@ sub delete { message_transport_type => 'email', branchcode => $pickup_library->branchcode, lang => $patron->lang, - objects => { booking => $self } + objects => { booking => $self, branch => $pickup_library } ); if ($letter) { diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index bba578c3a1..bbcbea2fbe 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -62,7 +62,9 @@ tables: - "
" - "Dates: [% booking.start_date | $KohaDates %] to [% booking.end_date | $KohaDates %]
" - "
" - - "Your library." + - "Kind regards
" + - "
" + - "[% branch.branchname %]" - module: catalogue code: TICKET_ACKNOWLEDGE -- 2.46.0