[Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week]
Mason James
szrj1m at yahoo.com
Tue May 15 22:42:48 CEST 2007
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Mason James <sushi> 07/05/15 20:42:48
Modified files:
C4/Circulation : Circ2.pm
Log message:
commiting stuff for issuingrules syspref feature, will commit in little bits so its easier to see whats being changed, rather than a big ugly commit.
adding small change in canbookbeissued(), before calling TooMany()
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.20&r2=1.87.2.14.2.21
Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Attic/Circ2.pm,v
retrieving revision 1.87.2.14.2.20
retrieving revision 1.87.2.14.2.21
diff -u -b -r1.87.2.14.2.20 -r1.87.2.14.2.21
--- Circ2.pm 11 May 2007 06:18:55 -0000 1.87.2.14.2.20
+++ Circ2.pm 15 May 2007 20:42:47 -0000 1.87.2.14.2.21
@@ -3,7 +3,7 @@
package C4::Circulation::Circ2;
-# $Id: Circ2.pm,v 1.87.2.14.2.20 2007/05/11 06:18:55 sushi Exp $
+# $Id: Circ2.pm,v 1.87.2.14.2.21 2007/05/15 20:42:47 sushi Exp $
#package to deal with Returns
#written 3/11/99 by olwen at katipo.co.nz
@@ -748,6 +748,11 @@
$needsconfirmation{DEBT} = sprintf("%.2f",$amount);
}
+# RT77, if syspref is set, use issuing branch's rule matrix, rather than the rule matrix from the patron's home branch (default) .
+ if ( C4::Context->preference("useIssuingRules") eq 'CircBranch') {
+ $borrower->{'branchcode'} = $env->{'branchcode'};
+
+ }
#
# JB34 CHECKS IF BORROWERS DONT HAVE ISSUE TOO MANY BOOKS
More information about the Koha-cvs
mailing list