[Koha-cvs] CVS: koha moredetail.pl,1.7,1.8

Finlay Thompson finlayt at users.sourceforge.net
Wed Jul 31 05:56:47 CEST 2002


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

Modified Files:
	moredetail.pl 
Log Message:

added the ordernumber information to make the Aquisitions link work.


Index: moredetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/moredetail.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** moredetail.pl	22 May 2002 18:35:25 -0000	1.7
--- moredetail.pl	31 Jul 2002 03:56:44 -0000	1.8
***************
*** 71,74 ****
--- 71,75 ----
  my ($order,$ordernum)=getorder($bi,$biblionumber);
  
+ 
  my $env;
  $env->{itemcount}=1;
***************
*** 88,93 ****
      $item->{'dateaccessioned'} = slashifyDate($item->{'dateaccessioned'});
      $item->{'datelastseen'} = slashifyDate($item->{'datelastseen'});
      if ($item->{'date_due'} = 'Available'){
! 	$item->{'issue'}="<b>Currently on issue to:</b><br>";
      } else {
  	$item->{'issue'}="<b>Currently on issue to:</b> <a href=/cgi-bin/koha/moremember.pl?bornum=$item->{'borrower0'}>$item->{'card'}</a><br>";
--- 89,97 ----
      $item->{'dateaccessioned'} = slashifyDate($item->{'dateaccessioned'});
      $item->{'datelastseen'} = slashifyDate($item->{'datelastseen'});
+     $item->{'ordernumber'} = $ordernum;
+     $item->{'booksellerinvoicenumber'} = $order->{'booksellerinvoicenumber'};
+ 
      if ($item->{'date_due'} = 'Available'){
! 	$item->{'issue'}="<b>Available</b><br>";
      } else {
  	$item->{'issue'}="<b>Currently on issue to:</b> <a href=/cgi-bin/koha/moremember.pl?bornum=$item->{'borrower0'}>$item->{'card'}</a><br>";





More information about the Koha-cvs mailing list