=item supplierid
to know on what supplier this script has to display receive order.
-=item recieve
+=item receive
=item invoice
the number of this invoice.
my $locs = GetKohaAuthorisedValues( 'items.location' );
foreach my $thisloc (sort keys %$locs) {
- warn $thisloc;
my $row = {
value => $thisloc,
description => $locs->{$thisloc},
if ( $results[0]->{'unitprice'} == 0 ) {
$results[0]->{'unitprice'} = '';
}
- $results[0]->{'copyrightdate'} =
- format_date( $results[0]->{'copyrightdate'} );
+# $results[0]->{'copyrightdate'} = format_date( $results[0]->{'copyrightdate'} ); # this usu fails.
$template->param(
branchloop => \@branchloop,
count => 1,
date => format_date($date),
title => $results[0]->{'title'},
author => $results[0]->{'author'},
- copyrightdate => format_date( $results[0]->{'copyrightdate'} ),
+ copyrightdate => $results[0]->{'copyrightdate'},
itemtype => $results[0]->{'itemtype'},
isbn => $results[0]->{'isbn'},
seriestitle => $results[0]->{'seriestitle'},
unitprice => $results[0]->{'unitprice'},
invoice => $invoice,
datereceived => $datereceived->output(),
+ datereceived_iso => $datereceived->output('iso'),
);
}
else {