From 63145eb3d25ef1863f57c3f65cc3c47c4c0e4020 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 4 Sep 2012 12:43:28 +1000 Subject: [PATCH] Bug 8718 - Normal catalogue detail view in staff client doesn't show missing serials or subscription history note Adds librariannote (staff subscription history note) and missing list to the normal catalogue detail view in staff client. Signed-off-by: Kyle M Hall Signed-off-by: Paul Poulain --- catalogue/detail.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 7126257ca5..c3a29b3d21 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -150,6 +150,8 @@ foreach my $subscription (@subscriptions) { my $serials_to_display; $cell{subscriptionid} = $subscription->{subscriptionid}; $cell{subscriptionnotes} = $subscription->{internalnotes}; + $cell{missinglist} = $subscription->{missinglist}; + $cell{librariannote} = $subscription->{librariannote}; $cell{branchcode} = $subscription->{branchcode}; $cell{branchname} = GetBranchName($subscription->{branchcode}); $cell{hasalert} = $subscription->{hasalert}; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 22f7908aa1..ef2b5b980f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -471,6 +471,8 @@ function verify_images() { [% IF ( subscription.branchname ) %]

At library: [% subscription.branchname %]

[% ELSE %] [% IF ( subscription.branchcode ) %]

At library: [% subscription.branchcode %]

[% END %][% END %] [% IF ( subscription.subscriptionnotes ) %]

[% subscription.subscriptionnotes FILTER html_line_break %]

[% END %] + [% IF ( subscription.missinglist ) %]

Missing issues: [% subscription.missinglist %]

[% END %] + [% IF ( subscription.librariannote ) %]

([% subscription.librariannote %])

[% END %] [% IF ( subscription.latestserials ) %]

The [% subscription.staffdisplaycount %] latest issues related to this subscription:

-- 2.39.5