Bug 35944: Add link to 'booked' biblio in checkouts table
This patch updates the checkouts table so handle 'booked' items
including linking to the biblio booking details page.
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 2cbf174897
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
5fefed88ed
commit
2f4be16206
1 changed files with 7 additions and 0 deletions
|
@ -529,6 +529,13 @@ $(document).ready(function() {
|
|||
|
||||
span_style = "display: none";
|
||||
span_class = "renewals-allowed-recalled";
|
||||
} else if ( oObj.can_renew_error == "booked" ) {
|
||||
msg += "<span>"
|
||||
+ "<a href='/cgi-bin/koha/bookings/list.pl?biblionumber=" + oObj.biblionumber + "'>" + __("Booked") + "</a>"
|
||||
+ "</span>";
|
||||
|
||||
span_style = "display: none";
|
||||
span_class = "renewals-allowed-booked";
|
||||
} else if ( oObj.can_renew_error == "on_reserve" ) {
|
||||
msg += "<span>"
|
||||
+"<a href='/cgi-bin/koha/reserve/request.pl?biblionumber=" + oObj.biblionumber + "'>" + __("On hold") + "</a>"
|
||||
|
|
Loading…
Reference in a new issue