From 4a119ecb41d256d082d99002421cdc771bbd9bbc Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Wed, 4 Nov 2009 09:19:36 +0100 Subject: [PATCH] MT 2134 : Adds a tab for subscriptions in intranet's record detail --- catalogue/detail.pl | 5 +- .../prog/en/modules/catalogue/detail.tmpl | 96 ++++++++++--------- 2 files changed, 54 insertions(+), 47 deletions(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index f9872d730d..16cf460f35 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -103,8 +103,9 @@ foreach my $subscription (@subscriptions) { my $serials_to_display; $cell{subscriptionid} = $subscription->{subscriptionid}; $cell{subscriptionnotes} = $subscription->{notes}; - $cell{branchcode} = $subscription->{branchcode}; - $cell{hasalert} = $subscription->{hasalert}; + $cell{branchcode} = $subscription->{branchcode}; + $cell{branchname} = GetBranchName($subscription->{branchcode}); + $cell{hasalert} = $subscription->{hasalert}; #get the three latest serials. $serials_to_display = $subscription->{staffdisplaycount}; $serials_to_display = C4::Context->preference('StaffSerialIssueDisplayCount') unless $serials_to_display; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl index c4ef762a4e..9c0cc3232e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl @@ -173,6 +173,7 @@ function verify_images() { @@ -351,6 +352,56 @@ function verify_images() { + + +
+
+
+

This is a serial subscription

+

(There are subscriptions associated with this title).

+ +

At library:

+

At branch:

+

+ +

The latest issues related to this subscription:

+ + + + + + + + + + + + + + + +
Issue #DateStatusNote
Expected + + Arrived + + Late + + Missing + + Not Issued + + + + +
+ + ">Subscription Details + +
+
+
+ +

Editions

@@ -403,51 +454,6 @@ function verify_images() { - -
-
-

This is a serial subscription

-

(We have subscriptions associated with this title).

- -

- -

The latest issues related to this subscription:

-
- - - - - - - - - - - - - - -
Issue #DateStatusNote
Expected - - Arrived - - Late - - Missing - - Not Issued - - - - -
- - ">Subscription Details - -
- - -
-- 2.39.5