[Koha-cvs] koha/circ circulation.pl [rel_2_2]
Joshua Ferraro
jmf at kados.org
Thu Apr 13 08:24:18 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Joshua Ferraro <kados at savannah.gnu.org> 06/04/13 06:24:18
Modified files:
circ : circulation.pl
Log message:
minor tweak on enrolmentperiod
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/circ/circulation.pl.diff?only_with_tag=rel_2_2&tr1=1.81.2.13&tr2=1.81.2.14&r1=text&r2=text
Patches:
Index: koha/circ/circulation.pl
diff -u koha/circ/circulation.pl:1.81.2.13 koha/circ/circulation.pl:1.81.2.14
--- koha/circ/circulation.pl:1.81.2.13 Tue Mar 14 17:01:56 2006
+++ koha/circ/circulation.pl Thu Apr 13 06:24:18 2006
@@ -126,7 +126,7 @@
my ($od,$issue,$fines)=borrdata2(\%env,$borrowernumber);
#warn $borrower->{'expiry'};
my $warningdate = DateCalc($borrower->{'expiry'},"- ".C4::Context->preference('NotifyBorrowerDeparture')." days");
- my $offset = '+ 30 days';
+ my $offset = '+ '.$borrower->{'enrolmentperiod'}.' years';
my $renewaldate = DateCalc($warningdate, $offset);
$renewaldate = UnixDate($renewaldate,'%Y-%m-%d');
my $warning=Date_Cmp(ParseDate("today"),$warningdate);
More information about the Koha-cvs
mailing list