Bugzilla – Attachment 170389 Details for
Bug 36915
Send email notification when a booking is cancelled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36915: (follow-up) Include branchname in sample notice
Bug-36915-follow-up-Include-branchname-in-sample-n.patch (text/plain), 1.64 KB, created by
Martin Renvoize (ashimema)
on 2024-08-15 14:37:22 UTC
(
hide
)
Description:
Bug 36915: (follow-up) Include branchname in sample notice
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-08-15 14:37:22 UTC
Size:
1.64 KB
patch
obsolete
>From 29024f535ca529365fbaeef13c9ff9934624ab1b Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Tue, 6 Aug 2024 13:22:10 +0000 >Subject: [PATCH] Bug 36915: (follow-up) Include branchname in sample notice > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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 e5297d8d17b..de230e07744 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 bf7e31eb44a..b23f9db57e7 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -62,7 +62,9 @@ tables: > - "<br>" > - "Dates: [% booking.start_date | $KohaDates %] to [% booking.end_date | $KohaDates %]<br>" > - "<br>" >- - "Your library." >+ - "Kind regards<br>" >+ - "<br>" >+ - "[% branch.branchname %]" > > - module: catalogue > code: TICKET_ACKNOWLEDGE >-- >2.46.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36915
:
167010
|
167013
|
168149
|
168150
|
168155
|
170058
|
170077
|
170078
|
170079
|
170080
|
170099
|
170155
|
170203
|
170204
|
170205
|
170206
|
170207
|
170208
|
170385
|
170386
|
170387
|
170388
| 170389 |
170390
|
170391