From ee6d730108addf181f10b85ce2e2a4082bea404b Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Fri, 8 Jul 2011 19:01:17 +0200 Subject: [PATCH] Bug 5436 Followup : expiry message was badly displayed This patch assigns the comment expressed --- circ/circulation.pl | 2 +- .../prog/en/modules/circ/circulation.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 24adeeb..21fd243 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -640,7 +640,7 @@ $template->param( printername => $printer, firstname => $borrower->{'firstname'}, surname => $borrower->{'surname'}, - dateexpiry => format_date($newexpiry), + newexpiry => format_date($newexpiry), expiry => format_date($borrower->{'dateexpiry'}), categoryname => $borrower->{description}, address2 => $borrower->{'address2'}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index afa6ec5..043c3c8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -226,7 +226,7 @@ function refocus(calendar) { -[% IF ( dateexpiry ) %]
Patron's account has been renewed until [% dateexpiry %]
[% END %] +[% IF ( newexpiry ) %]
Patron's account has been renewed until [% newexpiry %]
[% END %] [% IF ( NEEDSCONFIRMATION ) %]
-- 1.7.1