Lines 44-49
my $item = $input->param('itemnumber');
Link Here
|
44 |
my $borrowernumber = $input->param('borrowernumber'); |
44 |
my $borrowernumber = $input->param('borrowernumber'); |
45 |
my $fbr = $input->param('fbr') || ''; |
45 |
my $fbr = $input->param('fbr') || ''; |
46 |
my $tbr = $input->param('tbr') || ''; |
46 |
my $tbr = $input->param('tbr') || ''; |
|
|
47 |
my $all_branches = $input->param('allbranches') || ''; |
47 |
|
48 |
|
48 |
my $cancel; |
49 |
my $cancel; |
49 |
|
50 |
|
Lines 90-99
if ($item) {
Link Here
|
90 |
ModItemTransfer( $item, $fbr, $tbr ); |
91 |
ModItemTransfer( $item, $fbr, $tbr ); |
91 |
} |
92 |
} |
92 |
} |
93 |
} |
|
|
94 |
$template->param( all_branches_link => $input->url . '?allbranches=1&' . $input->query_string ) |
95 |
unless $all_branches; |
93 |
|
96 |
|
94 |
my (@reservloop, @overloop); |
97 |
my (@reservloop, @overloop); |
95 |
my ($reservcount, $overcount); |
98 |
my ($reservcount, $overcount); |
96 |
my @getreserves = $default ? GetReservesForBranch($default) : GetReservesForBranch(); |
99 |
my @getreserves = $all_branches ? GetReservesForBranch() : GetReservesForBranch($default); |
97 |
# get reserves for the branch we are logged into, or for all branches |
100 |
# get reserves for the branch we are logged into, or for all branches |
98 |
|
101 |
|
99 |
my $today = Date_to_Days(&Today); |
102 |
my $today = Date_to_Days(&Today); |