Skip to content

Commit

Permalink
Move 'use' to top-level (and top of file)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuelsmann committed Nov 10, 2024
1 parent d9f04ec commit e7bc39d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/LedgerSMB/Scripts/drafts.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ which have not been approved yet.
use strict;
use warnings;

use LedgerSMB::Scripts::reports;
use LedgerSMB::Report::Unapproved::Drafts;

our $VERSION = '0.1';
Expand All @@ -41,8 +42,6 @@ amount_ge: total greater than or equal to
=cut

sub search {
use LedgerSMB::Scripts::reports;

my $request = shift @_;
$request->{search_type} = 'drafts';
$request->{report_name} = 'unapproved';
Expand Down

0 comments on commit e7bc39d

Please sign in to comment.