#####Sets holiday periods for each branch. Datedues will be extended if branch is closed -TG
use strict;
+use warnings;
+
use CGI;
use C4::Auth;
);
push @branchloop, \%row;
}
-
+# branches calculated - put branch codes in a single string so they can be passed in a form
+my $branchcodes = join("|", keys %$branches);
# Get all the holidays
DAY_MONTH_HOLIDAYS_LOOP => \@day_month_holidays,
calendardate => $calendardate,
keydate => $keydate,
+ branchcodes => $branchcodes,
branch => $branch
);