Allow Library select on new bookfund and term update.
[koha_gimpoz] / admin / aqbudget.pl
index fc12985..cafbc0b 100755 (executable)
@@ -41,8 +41,7 @@ use strict;
 use CGI;
 use C4::Branch; # GetBranches
 use List::Util qw/min/;
-
-use C4::Dates;
+use C4::Dates qw/format_date format_date_in_iso/;
 use C4::Auth;
 use C4::Acquisition;
 use C4::Context;
@@ -174,7 +173,7 @@ SELECT branchcode,
         branches => \@branches,
     );
 
-    if (defined $dataaqbookfund->{branchcode}) {
+    if ( $dataaqbookfund->{branchcode}) {
         $template->param(
             disable_branchselection => 1,
             branch => $dataaqbookfund->{branchcode},