koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha moredetail.pl,1.16,1.17


From: Andrew Arensburger
Subject: [Koha-cvs] CVS: koha moredetail.pl,1.16,1.17
Date: Wed, 16 Oct 2002 05:41:14 -0700

Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv15655

Modified Files:
        moredetail.pl 
Log Message:
C4::Acquisitions doesn't exist anymore. Replaced with C4::Catalogue
(presumably this is correct, because &C4::Catalogue::getorder is
exported, but &C4::Biblio::getorder isn't).
Replaced an obviously-bogus assignment with a much more likely string
comparison.


Index: moredetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/moredetail.pl,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** moredetail.pl       14 Oct 2002 07:40:33 -0000      1.16
--- moredetail.pl       16 Oct 2002 12:41:10 -0000      1.17
***************
*** 26,30 ****
  use CGI;
  use C4::Search;
! use C4::Acquisitions;
  use C4::Output; # contains gettemplate
  my $query=new CGI;
--- 26,30 ----
  use CGI;
  use C4::Search;
! use C4::Catalogue;
  use C4::Output; # contains gettemplate
  my $query=new CGI;
***************
*** 83,88 ****
      $item->{'booksellerinvoicenumber'} = $order->{'booksellerinvoicenumber'};
  
!     # FIXME - This should be "==", not "=", right?
!     if ($item->{'date_due'} = 'Available'){
        $item->{'issue'}="<b>Available</b><br>";
      } else {
--- 83,87 ----
      $item->{'booksellerinvoicenumber'} = $order->{'booksellerinvoicenumber'};
  
!     if ($item->{'date_due'} eq 'Available'){
        $item->{'issue'}="<b>Available</b><br>";
      } else {




reply via email to

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