Bug 13380: Add ORDER_CANCELLATION_REASON AV to all language files
[koha.git] / acqui / ordered.pl
index 92f44a0..4a1ec5b 100755 (executable)
@@ -30,10 +30,9 @@ this script is to show orders ordered but not yet received
 use C4::Context;
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 use C4::Auth;
 use C4::Output;
-use C4::Dates;
 
 my $dbh     = C4::Context->dbh;
 my $input   = new CGI;
@@ -46,7 +45,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
         query           => $input,
         type            => "intranet",
         authnotrequired => 0,
-        flagsrequired   => { acquisition => 1 },
+        flagsrequired   => { acquisition => '*' },
         debug           => 1,
     }
 );