Lines 173-183
if ($issues){
Link Here
|
173 |
} |
173 |
} |
174 |
$issue->{'charges'} = $charges; |
174 |
$issue->{'charges'} = $charges; |
175 |
|
175 |
|
176 |
# get publictype for icon |
|
|
177 |
|
178 |
my $publictype = $issue->{'publictype'}; |
179 |
$issue->{$publictype} = 1; |
180 |
|
181 |
# check if item is renewable |
176 |
# check if item is renewable |
182 |
my ($status,$renewerror) = CanBookBeRenewed( $borrowernumber, $issue->{'itemnumber'} ); |
177 |
my ($status,$renewerror) = CanBookBeRenewed( $borrowernumber, $issue->{'itemnumber'} ); |
183 |
($issue->{'renewcount'},$issue->{'renewsallowed'},$issue->{'renewsleft'}) = GetRenewCount($borrowernumber, $issue->{'itemnumber'}); |
178 |
($issue->{'renewcount'},$issue->{'renewsallowed'},$issue->{'renewsleft'}) = GetRenewCount($borrowernumber, $issue->{'itemnumber'}); |
Lines 258-265
foreach my $res (@reserves) {
Link Here
|
258 |
$res->{'expirationdate'} = ''; |
253 |
$res->{'expirationdate'} = ''; |
259 |
} |
254 |
} |
260 |
|
255 |
|
261 |
my $publictype = $res->{'publictype'}; |
|
|
262 |
$res->{$publictype} = 1; |
263 |
$res->{'waiting'} = 1 if $res->{'found'} eq 'W'; |
256 |
$res->{'waiting'} = 1 if $res->{'found'} eq 'W'; |
264 |
$res->{'branch'} = $branches->{ $res->{'branchcode'} }->{'branchname'}; |
257 |
$res->{'branch'} = $branches->{ $res->{'branchcode'} }->{'branchname'}; |
265 |
my $biblioData = GetBiblioData($res->{'biblionumber'}); |
258 |
my $biblioData = GetBiblioData($res->{'biblionumber'}); |
266 |
- |
|
|