Lines 168-173
if ( $count == 1 ) {
Link Here
|
168 |
$results[0]->{'unitprice'} = ''; |
168 |
$results[0]->{'unitprice'} = ''; |
169 |
} |
169 |
} |
170 |
# $results[0]->{'copyrightdate'} = format_date( $results[0]->{'copyrightdate'} ); # this usu fails. |
170 |
# $results[0]->{'copyrightdate'} = format_date( $results[0]->{'copyrightdate'} ); # this usu fails. |
|
|
171 |
# fill the name of the user who send the order |
172 |
my $member = GetMember($results[0]->{'authorisedby'}); |
173 |
|
171 |
$template->param( |
174 |
$template->param( |
172 |
branchloop => \@branchloop, |
175 |
branchloop => \@branchloop, |
173 |
count => 1, |
176 |
count => 1, |
Lines 194-199
if ( $count == 1 ) {
Link Here
|
194 |
rrp => $results[0]->{'rrp'}, |
197 |
rrp => $results[0]->{'rrp'}, |
195 |
ecost => $results[0]->{'ecost'}, |
198 |
ecost => $results[0]->{'ecost'}, |
196 |
unitprice => $results[0]->{'unitprice'}, |
199 |
unitprice => $results[0]->{'unitprice'}, |
|
|
200 |
memberfirstname => $member->{firstname}, |
201 |
membersurname => $member->{surname}, |
197 |
invoice => $invoice, |
202 |
invoice => $invoice, |
198 |
datereceived => $datereceived->output(), |
203 |
datereceived => $datereceived->output(), |
199 |
datereceived_iso => $datereceived->output('iso'), |
204 |
datereceived_iso => $datereceived->output('iso'), |