[Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week]

Joshua Ferraro jmf at kados.org
Tue Jul 11 15:29:51 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Joshua Ferraro <kados>	06/07/11 13:29:51

Modified files:
	C4/Circulation : Circ2.pm 

Log message:
	reformatting

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Circulation/Circ2.pm?cvsroot=koha&only_with_tag=dev_week&r1=1.87.2.14.2.2&r2=1.87.2.14.2.3

Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.87.2.14.2.2
retrieving revision 1.87.2.14.2.3
diff -u -b -r1.87.2.14.2.2 -r1.87.2.14.2.3
--- Circ2.pm	10 Jul 2006 19:17:31 -0000	1.87.2.14.2.2
+++ Circ2.pm	11 Jul 2006 13:29:51 -0000	1.87.2.14.2.3
@@ -3,7 +3,7 @@
 
 package C4::Circulation::Circ2;
 
-# $Id: Circ2.pm,v 1.87.2.14.2.2 2006/07/10 19:17:31 tgarip1957 Exp $
+# $Id: Circ2.pm,v 1.87.2.14.2.3 2006/07/11 13:29:51 kados Exp $
 
 #package to deal with Returns
 #written 3/11/99 by olwen at katipo.co.nz
@@ -960,9 +960,9 @@
 #
 sub issuebook {
 	my ($env,$borrower,$barcode,$date,$cancelreserve) = @_;
-my	 $dbh = C4::Context->dbh;
-#warn "tring to issue";
-my $error;
+	my	 $dbh = C4::Context->dbh;
+	#warn "tring to issue";
+	my $error;
 #	my ($borrower, $flags) = &getpatroninformation($env, $borrowernumber, 0);
 	my $iteminformation = getiteminformation($env, 0, $barcode);
 #		warn "B : ".$borrower->{borrowernumber}." / I : ".$iteminformation->{'itemnumber'};
@@ -1037,9 +1037,9 @@
 		my @datearr = localtime();
 #	my $dateduef = (1900+$datearr[5])."-".($datearr[4]+1)."-".$datearr[3];
 	my $loanlength = getLoanLength($borrower->{'categorycode'},$iteminformation->{'itemtype'},$borrower->{'branchcode'});
-my @datearr;
-my $dateduef;
-my $loanlength = getLoanLength($borrower->{'categorycode'},$iteminformation->{'itemtype'},$borrower->{'branchcode'});
+		my @datearr;
+		my $dateduef;
+		my $loanlength = getLoanLength($borrower->{'categorycode'},$iteminformation->{'itemtype'},$borrower->{'branchcode'});
 		my $datedue=time+($loanlength)*86400;
 		my @datearr = localtime($datedue);
 		my $dateduef = (1900+$datearr[5])."-".($datearr[4]+1)."-".$datearr[3];





More information about the Koha-cvs mailing list