Bugzilla – Attachment 178390 Details for
Bug 32630
Don't delete ILL requests when patron is deleted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32630: Update send notice to patron button
Bug-32630-Update-send-notice-to-patron-button.patch (text/plain), 3.17 KB, created by
Pedro Amorim
on 2025-02-20 11:58:23 UTC
(
hide
)
Description:
Bug 32630: Update send notice to patron button
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-02-20 11:58:23 UTC
Size:
3.17 KB
patch
obsolete
>From 65b0858f0f8be5402b9f698f0605350bc9b95de1 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 20 Feb 2025 11:51:05 +0000 >Subject: [PATCH] Bug 32630: Update send notice to patron button > >Only show this action button if the ILL request has a borrowernumber >--- > .../prog/en/modules/ill/ill-requests.tt | 30 ++++++++++--------- > 1 file changed, 16 insertions(+), 14 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >index 61cc4e792c9..1801b777942 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >@@ -535,20 +535,22 @@ > </a> > [% END %] > [% END %] >- <div class="dropdown btn-group"> >- <button class="btn btn-default dropdown-toggle" type="button" id="ill-notice-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> >- <i class="fa-solid fa-envelope"></i> Send notice to patron >- </button> >- <ul class="dropdown-menu" aria-labelledby="ill-notice-dropdown"> >- [% FOREACH notice IN notices %] >- <li >- ><a class="dropdown-item" href="/cgi-bin/koha/ill/ill-requests.pl?op=send_notice&illrequest_id=[% request.illrequest_id | uri %]&notice_code=[% notice.code | uri %]" >- >[% notice.name | html %]</a >- ></li >- > >- [% END %] >- </ul> >- </div> >+ [% IF request.borrowernumber %] >+ <div class="dropdown btn-group"> >+ <button class="btn btn-default dropdown-toggle" type="button" id="ill-notice-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> >+ <i class="fa-solid fa-envelope"></i> Send notice to patron >+ </button> >+ <ul class="dropdown-menu" aria-labelledby="ill-notice-dropdown"> >+ [% FOREACH notice IN notices %] >+ <li >+ ><a class="dropdown-item" href="/cgi-bin/koha/ill/ill-requests.pl?op=send_notice&illrequest_id=[% request.illrequest_id | uri %]&notice_code=[% notice.code | uri %]" >+ >[% notice.name | html %]</a >+ ></li >+ > >+ [% END %] >+ </ul> >+ </div> >+ [% END %] > <a title="Display supplier metadata" id="ill-request-display-metadata" class="btn btn-default" href="#"> > <span class="fa-solid fa-eye"></span> > Display supplier metadata >-- >2.39.5
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 32630
:
178387
|
178388
|
178389
|
178390
|
178391
|
178392
|
178393
|
178858
|
178859
|
178860
|
178861
|
178862
|
178863
|
178864
|
178876
|
178877
|
178878
|
178879
|
178880
|
178881
|
178882
|
178883