[Koha-cvs] koha/acqui receive.pl [rel_2_2]

paul poulain paul at koha-fr.org
Tue Apr 4 15:32:54 CEST 2006


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	paul poulain <tipaul at savannah.gnu.org>	06/04/04 13:32:53

Modified files:
	acqui          : receive.pl 

Log message:
	managing an empty parameter

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/acqui/receive.pl.diff?only_with_tag=rel_2_2&tr1=1.13.2.4&tr2=1.13.2.5&r1=text&r2=text

Patches:
Index: koha/acqui/receive.pl
diff -u koha/acqui/receive.pl:1.13.2.4 koha/acqui/receive.pl:1.13.2.5
--- koha/acqui/receive.pl:1.13.2.4	Tue Feb 21 16:07:27 2006
+++ koha/acqui/receive.pl	Tue Apr  4 13:32:53 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: receive.pl,v 1.13.2.4 2006/02/21 16:07:27 hdl Exp $
+# $Id: receive.pl,v 1.13.2.5 2006/04/04 13:32:53 tipaul Exp $
 
 #script to recieve orders
 #written by chris at katipo.co.nz 24/2/2000
@@ -36,10 +36,11 @@
 my $input=new CGI;
 my $supplierid=$input->param('supplierid');
 my ($count, at booksellers)=bookseller($supplierid);
-my $invoice=$input->param('invoice');
+my $invoice=$input->param('code') || '';
 my $freight=$input->param('freight');
 my $gst=$input->param('gst');
 my $date=$input->param('datereceived');
+my $code=$input->param('code');
 
 my ($template, $loggedinuser, $cookie)
     = get_template_and_user({template_name => "acqui/recieve.tmpl",





More information about the Koha-cvs mailing list