#!/usr/bin/perl #script to show display basket of orders #written by chris@katipo.co.nz 24/2/2000 use C4::Acquisitions; use C4::Output; use CGI; use strict; my $input=new CGI; print $input->header(); my $basket=$input->param('basket'); my ($count,@results)=basket($basket); print startpage; print startmenu('acquisitions'); #print $count; my ($count2,@booksellers)=bookseller($results[0]->{'booksellerid'}); print < Our Reference: $basket
Authorised By: $results[0]->{'authorisedby'}
$results[0]->{'entrydate'}; Shopping Basket For: {'booksellerid'}> $booksellers[0]->{'name'} {'booksellerid'}&basket=$basket>Add more orders
Search ISBN, Title or Author:

printend ; for (my $i=0;$i<$count;$i++){ my $rrp=$results[$i]->{'listprice'}; if ($results[$i]->{'currency'} ne 'NZD'){ $rrp=curconvert($results[$i]->{'currency'},$rrp); } print < {'ordernumber'}> {'biblionumber'}> EOP ; } print ""; print <
ORDER ISBN TITLE AUTHOR RRP\$ESTQUANTITYTOTAL
$results[$i]->{'ordernumber'} $results[$i]->{'isbn'} $results[$i]->{'title'} $results[$i]->{'author'} \$ \$ {'quantity'} onchange='update(this.form)'> \$
HELP
To cancel an order, just change the quantity to 0 and click "save changes".
To change any of the catalogue or accounting information attached to an order, click on the title.
To add new orders to this supplier, start with a search.
SubTotal \$
GST \$
TOTAL \$
NOTES TO LIBRARY AND PROGRAMMERS
Again a bunch of questions here that you may have already answered elsewhere - but I couldn't spot it. Is GST charged on overseas orders?
Is GST usually include in the RRP, and thus the Estimated price? Or do your suppliers quote ex GST EOP ; print endmenu('acquisitions'); print endpage;