[Koha-cvs] koha/C4/Circulation Circ2.pm [rel_3_0]
LAURIN arnaud
alaurin at ouestprovence.fr
Tue Feb 6 16:10:25 CET 2007
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: LAURIN arnaud <alaurin> 07/02/06 15:10:25
Modified files:
C4/Circulation : Circ2.pm
Log message:
new criteria filter for getoverduesForBranch process, now we consider we don't show anymore line if the document date_due is not over (new case if the document is issuing to the same borrower, but without prologation ...)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Circulation/Circ2.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.114.2.38&r2=1.114.2.39
Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.114.2.38
retrieving revision 1.114.2.39
diff -u -b -r1.114.2.38 -r1.114.2.39
--- Circ2.pm 6 Feb 2007 14:51:31 -0000 1.114.2.38
+++ Circ2.pm 6 Feb 2007 15:10:24 -0000 1.114.2.39
@@ -17,7 +17,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
-# $Id: Circ2.pm,v 1.114.2.38 2007/02/06 14:51:31 alaurin Exp $
+# $Id: Circ2.pm,v 1.114.2.39 2007/02/06 15:10:24 alaurin Exp $
use strict;
require Exporter;
@@ -41,7 +41,7 @@
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
# set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.114.2.38 $' =~ /\d+/g; shift(@v).".".join( "_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.114.2.39 $' =~ /\d+/g; shift(@v).".".join( "_", map { sprintf "%03d", $_ } @v ); };
=head1 NAME
@@ -2927,6 +2927,7 @@
AND ( items.itemnumber = issues.itemnumber )
AND ( branches.branchcode = issues.branchcode ) )
AND (issues.branchcode = ?)
+ AND issues.date_due <= now()
AND NOT EXISTS (
SELECT * FROM notifys
WHERE ( accountlines.notify_id = notifys.notify_id )
@@ -2979,6 +2980,7 @@
AND ( items.itemnumber = issues.itemnumber )
AND ( branches.branchcode = issues.branchcode ) )
AND (issues.branchcode = ? AND items.location = ?)
+ AND issues.date_due <= now()
AND NOT EXISTS (
SELECT * FROM notifys
WHERE ( accountlines.notify_id = notifys.notify_id )
More information about the Koha-cvs
mailing list