[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/misc/notifys fines.pl,1.1,1.2
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/misc/notifys fines.pl,1.1,1.2 |
Date: |
Thu, 22 Sep 2005 03:01:48 -0700 |
Update of /cvsroot/koha/koha/misc/notifys
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6231/misc/notifys
Modified Files:
fines.pl
Log Message:
see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of
biblionumber everywhere (instead of bn, biblio, ...)
Index: fines.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/notifys/fines.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** fines.pl 5 Mar 2004 21:22:15 -0000 1.1
--- fines.pl 22 Sep 2005 10:01:46 -0000 1.2
***************
*** 5,9 ****
use C4::Database;
! use C4::Search;
use C4::Circulation::Circ2;
use C4::Circulation::Fines;
--- 5,9 ----
use C4::Database;
! use C4::Members;
use C4::Circulation::Circ2;
use C4::Circulation::Fines;
***************
*** 91,95 ****
my
$accountno=C4::Circulation::Circ2::getnextacctno($env,$overdue->{'borrowernumber'},$dbh);
! my
$item=itemnodata($env,$dbh,$overdue->{'itemnumber'});
if ($item->{'itemlost'} ne '1' &&
$item->{'itemlost'} ne '2' ){
$item->{'title'}=~ s/\'/\\'/g;
--- 91,95 ----
my
$accountno=C4::Circulation::Circ2::getnextacctno($env,$overdue->{'borrowernumber'},$dbh);
! my
$item=getbibliofromitemnumber($env,$dbh,$overdue->{'itemnumber'});
if ($item->{'itemlost'} ne '1' &&
$item->{'itemlost'} ne '2' ){
$item->{'title'}=~ s/\'/\\'/g;
***************
*** 266,270 ****
my $env; #FIXME
what is this varible for?
! if ( my $item =
itemnodata($env, $dbh, $over->{'itemnumber'})){
print "getting fine
($over->{'itemnumber'} $overdue->{'borrowernumber'}
$over->{'borrowernumber'}\n";
my $fine =
GetFine($over->{'itemnumber'},$overdue->{'borrowernumber'});
--- 266,270 ----
my $env; #FIXME
what is this varible for?
! if ( my $item =
getbibliofromitemnumber($env, $dbh, $over->{'itemnumber'})){
print "getting fine
($over->{'itemnumber'} $overdue->{'borrowernumber'}
$over->{'borrowernumber'}\n";
my $fine =
GetFine($over->{'itemnumber'},$overdue->{'borrowernumber'});
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc/notifys fines.pl,1.1,1.2,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha boraccount.pl,1.10,1.11 detail.pl,1.26,1.27 detailprint.pl,1.2,1.3 ISBDdetail.pl,1.6,1.7 mancredit.pl,1.10,1.11 maninvoice.pl,1.8,1.9 MARCdetail.pl,1.31,1.32 modbibitem.pl,1.15,1.16 modbib.pl,1.14,1.15 moditem.pl,1.8,1.9 modrequest.pl,1.6,1.7 modwebsites.pl,1.4,1.5 pay.pl,1.12,1.13 placerequest.pl,1.4,1.5 readingrec.pl,1.13,1.14 request.pl,1.30,1.31
- Next by Date:
[Koha-cvs] CVS: koha/misc/cronjobs reservelist.pl,1.1,1.2
- Previous by thread:
[Koha-cvs] CVS: koha boraccount.pl,1.10,1.11 detail.pl,1.26,1.27 detailprint.pl,1.2,1.3 ISBDdetail.pl,1.6,1.7 mancredit.pl,1.10,1.11 maninvoice.pl,1.8,1.9 MARCdetail.pl,1.31,1.32 modbibitem.pl,1.15,1.16 modbib.pl,1.14,1.15 moditem.pl,1.8,1.9 modrequest.pl,1.6,1.7 modwebsites.pl,1.4,1.5 pay.pl,1.12,1.13 placerequest.pl,1.4,1.5 readingrec.pl,1.13,1.14 request.pl,1.30,1.31
- Next by thread:
[Koha-cvs] CVS: koha/misc/cronjobs reservelist.pl,1.1,1.2
- Index(es):