|
Lines 199-205
if ($currentbranch and C4::Context->preference('SeparateHoldings')) {
Link Here
|
| 199 |
my $separatebranch = C4::Context->preference('SeparateHoldingsBranch') || 'homebranch'; |
199 |
my $separatebranch = C4::Context->preference('SeparateHoldingsBranch') || 'homebranch'; |
| 200 |
foreach my $item (@items) { |
200 |
foreach my $item (@items) { |
| 201 |
my $itembranchcode = $item->{$separatebranch}; |
201 |
my $itembranchcode = $item->{$separatebranch}; |
| 202 |
$item->{homebranch} = GetBranchName($item->{homebranch}); |
202 |
$item->{homebranchcode} = $item->{homebranch}; |
|
|
203 |
$item->{homebranch} = GetBranchName( $item->{homebranch} ); |
| 203 |
|
204 |
|
| 204 |
# can place holds defaults to yes |
205 |
# can place holds defaults to yes |
| 205 |
$norequests = 0 unless ( ( $item->{'notforloan'} > 0 ) || ( $item->{'itemnotforloan'} > 0 ) ); |
206 |
$norequests = 0 unless ( ( $item->{'notforloan'} > 0 ) || ( $item->{'itemnotforloan'} > 0 ) ); |