|
Lines 161-167
while ( my $c = $sth->fetchrow_hashref() ) {
Link Here
|
| 161 |
my ( $renewals_count, $renewals_allowed, $renewals_remaining ) = |
161 |
my ( $renewals_count, $renewals_allowed, $renewals_remaining ) = |
| 162 |
GetRenewCount( $c->{borrowernumber}, $c->{itemnumber} ); |
162 |
GetRenewCount( $c->{borrowernumber}, $c->{itemnumber} ); |
| 163 |
|
163 |
|
| 164 |
my $itemtype = Koha::ItemTypes->find( $item_level_itypes ? $c->{itype} : $c->{itemtype} ); |
164 |
my $type_for_stat = Koha::ItemTypes->find( $item_level_itypes ? $c->{itype} : $c->{itemtype} ); |
|
|
165 |
my $itemtype = Koha::ItemTypes->find( $c->{itype} ); |
| 166 |
my $recordtype = Koha::ItemTypes->find( $c->{itemtype} ); |
| 165 |
my $location; |
167 |
my $location; |
| 166 |
if ( $c->{location} ) { |
168 |
if ( $c->{location} ) { |
| 167 |
my $av = Koha::AuthorisedValues->search({ category => 'LOC', authorised_value => $c->{location} }); |
169 |
my $av = Koha::AuthorisedValues->search({ category => 'LOC', authorised_value => $c->{location} }); |
|
Lines 194-201
while ( my $c = $sth->fetchrow_hashref() ) {
Link Here
|
| 194 |
part_name => $c->{part_name} // '', |
196 |
part_name => $c->{part_name} // '', |
| 195 |
author => $c->{author}, |
197 |
author => $c->{author}, |
| 196 |
barcode => $c->{barcode}, |
198 |
barcode => $c->{barcode}, |
| 197 |
itemtype => $item_level_itypes ? $c->{itype} : $c->{itemtype}, |
199 |
type_for_stat => $type_for_stat ? $type_for_stat->translated_description : q{}, |
| 198 |
itemtype_description => $itemtype ? $itemtype->translated_description : q{}, |
200 |
itemtype_description => $itemtype ? $itemtype->translated_description : q{}, |
|
|
201 |
recordtype_description => $recordtype ? $recordtype->translated_description : q{}, |
| 199 |
collection => $collection, |
202 |
collection => $collection, |
| 200 |
location => $location, |
203 |
location => $location, |
| 201 |
homebranch => $c->{homebranch}, |
204 |
homebranch => $c->{homebranch}, |
| 202 |
- |
|
|