use Modern::Perl;
use CGI qw ( -utf8 );
-use Try::Tiny;
+use Try::Tiny qw( catch try );
use C4::Context;
-use C4::Auth;
-use C4::Output;
+use C4::Auth qw( get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
use Koha::Account::CreditType;
use Koha::Account::CreditTypes;
template_name => "admin/credit_types.tt",
query => $input,
type => "intranet",
- flagsrequired => { parameters => 'parameters_remaining_permissions' },
- debug => 1,
+ flagsrequired => { parameters => 'manage_accounts' },
}
);