From 05be94ba9a4ef55978d7fcb024c3a4b6b57cf94e Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Thu, 23 Jul 2009 17:09:31 +0100 Subject: [PATCH] User will find it useful to see the date claimed Signed-off-by: Galen Charlton --- C4/Serials.pm | 3 ++- .../prog/en/modules/serials/subscription-detail.tmpl | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 26b08db9a9..012672800e 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -734,7 +734,7 @@ sub GetSerials { $count=5 unless ($count); my @serials; my $query = - "SELECT serialid,serialseq, status, publisheddate, planneddate,notes, routingnotes + "SELECT serialid,serialseq, status, publisheddate, planneddate,notes, routingnotes, claimdate FROM serial WHERE subscriptionid = ? AND status NOT IN (2,4,5) ORDER BY IF(publisheddate<>'0000-00-00',publisheddate,planneddate) DESC"; @@ -745,6 +745,7 @@ sub GetSerials { 1; # fills a "statusX" value, used for template status select list $line->{"publisheddate"} = format_date( $line->{"publisheddate"} ); $line->{"planneddate"} = format_date( $line->{"planneddate"} ); + $line->{claimdate} = format_date( $line->{claimdate} ); push @serials, $line; } # OK, now add the last 5 issues arrives/missing diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tmpl index 6fc97c69af..82b73afe67 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tmpl @@ -296,6 +296,9 @@ function popup(subscriptionid) { Claimed + + + -- 2.39.5