From 497bbd84b0f7016d54a08d2834264868d668d66d Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Tue, 14 Aug 2007 19:06:47 +0200 Subject: [PATCH] show the departure date if close or past Signed-off-by: Chris Cormack --- circ/circulation.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index f6711f37df..6d4f60bdf5 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -182,7 +182,7 @@ if ($borrowernumber) { #borrowercard expired or nearly expired, warn the librarian $template->param( flagged => "1", - warndeparture => "1", + warndeparture => format_date("$warning_year-$warning_month-$warning_day"), renewaldate => "$renew_year-$renew_month-$renew_day" ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl index 911f2ccb9f..11dbd0e8df 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl @@ -27,7 +27,7 @@ ">details / &modify=edit&destination=circ&categorycode=">edit

-

Patron will leave soon.

+

Patron card expires on .

, -- 2.11.0