From 621434e3d251ae0a061cc611c0093c57f81f09f2 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 Content-Type: text/plain; charset="utf-8" Adds librariannote (staff subscription history note) and missing list to the normal catalogue detail view in staff client. --- catalogue/detail.pl | 2 ++ .../prog/en/modules/catalogue/detail.tt | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 7126257..c3a29b3 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 22f7908..ef2b5b9 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:

-- 1.7.7.4