[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.30,1.31
From: |
Finlay Thompson |
Subject: |
[Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.30,1.31 |
Date: |
Tue, 13 Aug 2002 22:37:09 -0700 |
Update of /cvsroot/koha/koha/C4/Circulation
In directory usw-pr-cvs1:/tmp/cvs-serv21418/C4/Circulation
Modified Files:
Circ2.pm
Log Message:
added a check in the returnbook subroutine that checks to see if a book has
been cancelled: i.e. that the wthdrawn field has been set to 1.
Index: Circ2.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** Circ2.pm 2 Jul 2002 23:31:33 -0000 1.30
--- Circ2.pm 14 Aug 2002 05:37:07 -0000 1.31
***************
*** 500,503 ****
--- 500,508 ----
$messages->{'IsPermanent'} = $hbr;
}
+ # check that the book has been cancelled
+ if ($iteminformation->{'wthdrawn'}) {
+ $messages->{'wthdrawn'} = 1;
+ $doreturn = 0;
+ }
# update issues, thereby returning book (should push this out into another
subroutine
my ($borrower) = getpatroninformation(\%env, $currentborrower, 0);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.30,1.31,
Finlay Thompson <=
- Prev by Date:
[Koha-cvs] CVS: koha/circ returns.pl,1.11,1.12
- Next by Date:
[Koha-cvs] CVS: koha/C4/Interface AccountsCDK.pm,1.1.1.1,1.2 BorrowerCDK.pm,1.1.1.1,1.2 FlagsCDK.pm,1.1.1.1,1.2 RenewalsCDK.pm,1.1.1.1,1.2 ReserveentCDK.pm,1.1.1.1,1.2
- Previous by thread:
[Koha-cvs] CVS: koha/circ returns.pl,1.11,1.12
- Next by thread:
[Koha-cvs] CVS: koha/C4/Interface AccountsCDK.pm,1.1.1.1,1.2 BorrowerCDK.pm,1.1.1.1,1.2 FlagsCDK.pm,1.1.1.1,1.2 RenewalsCDK.pm,1.1.1.1,1.2 ReserveentCDK.pm,1.1.1.1,1.2
- Index(es):