[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/circ circulation.pl [rel_2_2]
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] koha/circ circulation.pl [rel_2_2] |
Date: |
Thu, 13 Apr 2006 06:24:18 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Joshua Ferraro <address@hidden> 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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/circ circulation.pl [rel_2_2],
Joshua Ferraro <=