From 953b8a5af91308a52c872af639bab9071df7a47a Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 19 Feb 2012 15:36:02 +0100 Subject: [PATCH] Bug 3901: Rollover on serials summary showing 9999999 For Rollover 9999999 the planning tab on the subscription will now show 'Never'. Signed-off-by: Jared Camins-Esakov Signed-off-by: Paul Poulain --- .../prog/en/modules/serials/subscription-detail.tt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt index ba44815ba9..6e66728177 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt @@ -222,15 +222,17 @@ $(document).ready(function() { [% END %] Rollover: - [% whenmorethan1 %] + + [% IF ( whenmorethan1 < 9999999 ) %][% whenmorethan1 %][% ELSE %]Never[% END %] + [% IF ( whenmorethan2 ) %] -   - [% whenmorethan2 %] +   + [% IF ( whenmorethan2 < 9999999 ) %][% whenmorethan2 %][% ELSE %]Never[% END %] [% END %] [% IF ( whenmorethan3 ) %] -   - [% whenmorethan3 %] +   + [% IF ( whenmorethan3 < 9999999 ) %][% whenmorethan3 %][% ELSE %]Never[% END %] [% END %] -- 2.39.5