[Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.33,1.34

Finlay Thompson finlayt at users.sourceforge.net
Wed Aug 21 04:45:32 CEST 2002


Update of /cvsroot/koha/koha/C4/Circulation
In directory usw-pr-cvs1:/tmp/cvs-serv20314/C4/Circulation

Modified Files:
	Circ2.pm 
Log Message:

minor changes to comments etc....


Index: Circ2.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** Circ2.pm	15 Aug 2002 03:27:28 -0000	1.33
--- Circ2.pm	21 Aug 2002 02:45:30 -0000	1.34
***************
*** 205,208 ****
--- 205,209 ----
  	my $itemtype=$sth->fetchrow_hashref;
  	$iteminformation->{'loanlength'}=$itemtype->{'loanlength'};
+ 	$iteminformation->{'notforloan'}=$itemtype->{'notforloan'};
  	$sth->finish;
      }
***************
*** 340,344 ****
  	}
  	if ($iteminformation->{'notforloan'} == 1) {
! 	    $rejected="Item not for loan.";
  	    last SWITCH;
  	}
--- 341,345 ----
  	}
  	if ($iteminformation->{'notforloan'} == 1) {
! 	    $rejected="Reference item: not for loan.";
  	    last SWITCH;
  	}
***************
*** 349,356 ****
  	if ($iteminformation->{'restricted'} == 1) {
  	    $rejected="Restricted item.";
- 	    last SWITCH;
- 	}
- 	if ($iteminformation->{'itemtype'} eq 'REF') {
- 	    $rejected="Reference item:  Not for loan.";
  	    last SWITCH;
  	}
--- 350,353 ----





More information about the Koha-cvs mailing list