koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/acqui receive.pl,1.1.1.1,1.2


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/acqui receive.pl,1.1.1.1,1.2
Date: Tue, 14 May 2002 02:13:54 -0700

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

Modified Files:
        receive.pl 
Log Message:
DB query optimisation


Index: receive.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui/receive.pl,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** receive.pl  19 Dec 2000 23:45:57 -0000      1.1.1.1
--- receive.pl  14 May 2002 09:13:52 -0000      1.2
***************
*** 12,16 ****
  print $input->header();
  my $id=$input->param('id');
! my ($count,@booksellers)=bookseller($id); 
  my $invoice=$input->param('invoice');
  my $freight=$input->param('freight');
--- 12,16 ----
  print $input->header();
  my $id=$input->param('id');
! my ($count,@booksellers)=bookseller($id);
  my $invoice=$input->param('invoice');
  my $freight=$input->param('freight');
***************
*** 55,61 ****
  EOP
  ;
! my ($count,@results)=invoice($invoice);
  if ($invoice eq ''){
!   ($count,@results)=getallorders($id);
  }
  print $count;
--- 55,63 ----
  EOP
  ;
! my ($count,@results);
  if ($invoice eq ''){
!       ($count,@results)=getallorders($id);
! } else {
!       ($count,@results)=invoice($invoice);
  }
  print $count;




reply via email to

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