Bug 32630: Update send notice to patron button

Only show this action button if the ILL request has a borrowernumber

Sponsored-by: UKHSA - UK Health Security Agency
Signed-off-by: Jeremy Evans <Jeremy.Evans@ukhsa.gov.uk>
Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit c9817ddc1e)
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
This commit is contained in:
Pedro Amorim 2025-02-20 11:51:05 +00:00 committed by Baptiste Wojtkowski
parent de24686a1b
commit 7a3cb522fc
No known key found for this signature in database
GPG Key ID: 47A8A13E10BC0D40
1 changed files with 2 additions and 0 deletions

View File

@ -627,6 +627,7 @@
</a>
[% END %]
[% END %]
[% 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
@ -637,6 +638,7 @@
[% 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