Lines 49-56
my $op = $input->param('op');
Link Here
|
49 |
my $query = $input->param('query'); |
49 |
my $query = $input->param('query'); |
50 |
|
50 |
|
51 |
my $order = GetOrder($ordernumber); |
51 |
my $order = GetOrder($ordernumber); |
|
|
52 |
my $basketfromname = ''; |
52 |
if($order) { |
53 |
if($order) { |
53 |
my $basket = GetBasket($order->{basketno}); |
54 |
my $basket = GetBasket($order->{basketno}); |
|
|
55 |
$basketfromname = $basket->{basketname}; |
54 |
$bookselleridfrom = $basket->{booksellerid} if $basket; |
56 |
$bookselleridfrom = $basket->{booksellerid} if $basket; |
55 |
} |
57 |
} |
56 |
|
58 |
|
Lines 65-70
if($booksellerto){
Link Here
|
65 |
$booksellertoname = $booksellerto->{name}; |
67 |
$booksellertoname = $booksellerto->{name}; |
66 |
} |
68 |
} |
67 |
|
69 |
|
|
|
70 |
|
68 |
if( $basketno && $ordernumber) { |
71 |
if( $basketno && $ordernumber) { |
69 |
# Transfer order and exit |
72 |
# Transfer order and exit |
70 |
my $order = GetOrder( $ordernumber ); |
73 |
my $order = GetOrder( $ordernumber ); |
Lines 132-137
$template->param(
Link Here
|
132 |
booksellertoname => $booksellertoname, |
135 |
booksellertoname => $booksellertoname, |
133 |
ordernumber => $ordernumber, |
136 |
ordernumber => $ordernumber, |
134 |
basketno => $basketno, |
137 |
basketno => $basketno, |
|
|
138 |
basketfromname => $basketfromname, |
135 |
); |
139 |
); |
136 |
|
140 |
|
137 |
output_html_with_http_headers $input, $cookie, $template->output; |
141 |
output_html_with_http_headers $input, $cookie, $template->output; |