From 6e5b99c397ab14b5edc0a6dd483befc9156e6626 Mon Sep 17 00:00:00 2001 From: toins Date: Mon, 31 Jul 2006 14:10:59 +0000 Subject: [PATCH] Subs renamed --- acqui/addorder.pl | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/acqui/addorder.pl b/acqui/addorder.pl index a5fbbb8571..e1b884b685 100755 --- a/acqui/addorder.pl +++ b/acqui/addorder.pl @@ -53,8 +53,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( my $ordnum = $input->param('ordnum'); my $basketno = $input->param('basketno'); my $booksellerid = $input->param('booksellerid'); -my $existing = - $input->param('existing'); # existing biblio, (not basket or order) +my $existing = $input->param('existing'); # existing biblio, (not basket or order) my $title = $input->param('title'); my $author = $input->param('author'); my $copyrightdate = $input->param('copyrightdate'); @@ -67,8 +66,6 @@ if ( $listprice eq '' ) { $listprice = 0; } my $series = $input->param('series'); - -# my $supplier=$input->param('supplier'); my $notes = $input->param('notes'); my $bookfund = $input->param('bookfund'); my $sort1 = $input->param('sort1'); @@ -185,7 +182,7 @@ if ( $quantity ne '0' ) { if ($ordnum) { # warn "MODORDER $title / $ordnum / $quantity / $bookfund"; - modorder( + ModOrder( $title, $ordnum, $quantity, $listprice, $bibnum, $basketno, $booksellerid, $loggedinuser, $notes, $bookfund, $bibitemnum, $rrp, @@ -194,7 +191,7 @@ if ( $quantity ne '0' ) { ); } else { - ( $basketno, $ordnum ) = neworder( + ( $basketno, $ordnum ) = NewOrder( $basketno, $bibnum, $title, $quantity, $listprice, $booksellerid, $loggedinuser, $notes, $bookfund, $bibitemnum, $rrp, $ecost, @@ -217,7 +214,7 @@ if ( $quantity ne '0' ) { }, @barcodes ); - receiveorder( + ModReceiveOrder( $bibnum, $ordnum, $quantity, $user, $cost, $invoice, 0, $bookfund, $rrp ); @@ -225,6 +222,6 @@ if ( $quantity ne '0' ) { } else { $bibnum = $input->param('biblio'); - delorder( $bibnum, $ordnum ); + DelOrder( $bibnum, $ordnum ); } print $input->redirect("basket.pl?basket=$basketno"); -- 2.20.1