parcel.pl
=head1 DESCRIPTION
+
This script shows all orders receipt or pending for a given supplier.
It allows to write an order as 'received' when he arrives.
=over 4
=item supplierid
+
To know the supplier this script has to show orders.
=item code
+
is the bookseller invoice number.
=item freight
=item datereceived
+
To filter the results list on this given date.
=back
=cut
+use strict;
+#use warnings; FIXME - Bug 2505
use C4::Auth;
use C4::Acquisition;
use C4::Budgets;
use C4::Dates qw/format_date format_date_in_iso/;
use JSON;
-use strict;
-
my $input=new CGI;
my $supplierid=$input->param('supplierid');
my $bookseller=GetBookSellerFromId($supplierid);
$data->{ordernumber} = $order->{ordernumber};
$data->{title} = $order->{title};
$data->{author} = $order->{author};
+ $data->{isbn} = $order->{isbn};
+ $data->{booksellerid} = $order->{booksellerid};
$data->{biblionumber} = $order->{biblionumber};
$data->{freight} = $order->{freight};
$data->{quantity} = $order->{quantity};
}
if ($error_delitem || $error_delbiblio) {
- warn $error_delitem;
- warn $error_delbiblio;
if ($error_delitem) { $template->param(error_delitem => 1); }
if ($error_delbiblio) { $template->param(error_delbiblio => 1); }
} else {
resultsperpage => $resultsperpage,
);
output_html_with_http_headers $input, $cookie, $template->output;
+