koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.87.2.3,1.87.2.4


From: Joshua Ferraro
Subject: [Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.87.2.3,1.87.2.4
Date: Tue, 03 May 2005 12:27:23 -0700

Update of /cvsroot/koha/koha/C4/Circulation
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26572/Circulation

Modified Files:
      Tag: rel_2_2
        Circ2.pm 
Log Message:
Fixes problems renewing items from issues screen.


Index: Circ2.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.87.2.3
retrieving revision 1.87.2.4
diff -C2 -r1.87.2.3 -r1.87.2.4
*** Circ2.pm    7 Apr 2005 10:02:24 -0000       1.87.2.3
--- Circ2.pm    3 May 2005 19:27:19 -0000       1.87.2.4
***************
*** 744,748 ****
  # Already issued to current borrower. Ask whether the loan should
  # be renewed.
!               my ($renewstatus) = 
renewstatus($env,$dbh,$borrower->{'borrowernumber'}, 
$iteminformation->{'itemnumber'});
                if ($renewstatus == 0) { # no more renewals allowed
                        $issuingimpossible{NO_MORE_RENEWALS} = 1;
--- 744,748 ----
  # Already issued to current borrower. Ask whether the loan should
  # be renewed.
!               my ($renewstatus) = renewstatus($env, 
$borrower->{'borrowernumber'}, $iteminformation->{'itemnumber'});
                if ($renewstatus == 0) { # no more renewals allowed
                        $issuingimpossible{NO_MORE_RENEWALS} = 1;
***************
*** 817,821 ****
                }
                
&UpdateStats($env,$env->{'branchcode'},'renew',$charge,'',$iteminformation->{'itemnumber'},$iteminformation->{'itemtype'},$borrower->{'borrowernumber'});
!               renewbook($env,$dbh, $borrower->{'borrowernumber'}, 
$iteminformation->{'itemnumber'});
        } else {
  #
--- 817,821 ----
                }
                
&UpdateStats($env,$env->{'branchcode'},'renew',$charge,'',$iteminformation->{'itemnumber'},$iteminformation->{'itemtype'},$borrower->{'borrowernumber'});
!               renewbook($env, $borrower->{'borrowernumber'}, 
$iteminformation->{'itemnumber'});
        } else {
  #




reply via email to

[Prev in Thread] Current Thread [Next in Thread]