@@ -, +, @@
Check that the library is displayed in patrons opac issues.
('Your summary' -> 'Checked out' and 'Overdue' tabs)
---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 10 ++++++++++
opac/opac-user.pl | 3 +++
2 files changed, 13 insertions(+)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
@@ -198,6 +198,7 @@
Barcode |
[% END %]
Call no. |
+ Library |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %]
Renew |
[% END %]
@@ -293,6 +294,10 @@
Call no.:
[% ISSUE.itemcallnumber | html %]
+
+ Library:
+ [% ISSUE.library | html %]
+ |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions ) ) %]
[% IF ISSUE.renewed %]Renewed! [% END %]
@@ -498,6 +503,7 @@
[% UNLESS ( item_level_itypes ) %] | Item type | [% END %]
[% IF ( show_barcode ) %]Barcode | [% END %]
Call no. |
+ Library |
Due |
[% IF ( OpacRenewalAllowed ) %]
Renew |
@@ -569,6 +575,10 @@
[% OVERDUE.itemcallnumber | html %]
+ Library:
+ [% OVERDUE.library | html %]
+ |
+
Date due:
[% OVERDUE.date_due | $KohaDates as_due_date => 1 %]
--- a/opac/opac-user.pl
+++ a/opac/opac-user.pl
@@ -255,6 +255,9 @@ if ( $pending_checkouts->count ) { # Useless test
}
$issue->{biblio_object} = Koha::Biblios->find($issue->{biblionumber});
+ my $item = Koha::Items->find($issue->{'itemnumber'});
+ my $library = Koha::Libraries->find($item->holdingbranch);
+ $issue->{'library'} = $library->branchname;
push @issuedat, $issue;
$count++;
--
|