Bugzilla – Attachment 170099 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.52 KB, created by
Paul Derscheid
on 2024-08-06 13:24:41 UTC
(
hide
)
Description:
Bug 36915: (follow-up) Include branchname in sample notice
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-08-06 13:24:41 UTC
Size:
1.52 KB
patch
obsolete
>From 2c068e18d4ab9b79f3def140cff1ad6789029dbe 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 > >--- > 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: > - "<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