Bug 29010: (QA follow-up) Change inputmode from numeric to decimal
[koha-ffzg.git] / serials / subscription-batchedit.pl
index fa114a1..4e069b9 100755 (executable)
@@ -21,21 +21,20 @@ use Modern::Perl;
 
 use CGI qw( -utf8 );
 
-use C4::Auth;
-use C4::Output;
-use C4::Serials;
+use C4::Auth qw( get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
+use C4::Serials qw( can_edit_subscription );
 use Koha::Subscriptions;
 use Koha::Acquisition::Booksellers;
 use Koha::AdditionalFields;
-use Koha::DateUtils;
+use Koha::DateUtils qw( dt_from_string );
 
-my $cgi = new CGI;
+my $cgi = CGI->new;
 
 my ($template, $loggedinuser, $cookie) = get_template_and_user({
     template_name => 'serials/subscription-batchedit.tt',
     query => $cgi,
     type => 'intranet',
-    authnotrequired => 0,
     flagsrequired => {serials => 'edit_subscription'},
 });