|
Lines 195-201
sub printbasketgrouppdf{
Link Here
|
| 195 |
} |
195 |
} |
| 196 |
} |
196 |
} |
| 197 |
|
197 |
|
| 198 |
$ord->{itemtype} = ( $ord->{itemtype} and $biblioitem->itemtype ) ? Koha::ItemTypes->find( $biblioitem->itemtype )->description : undef; |
198 |
# BEGIN WIP |
|
|
199 |
my $item_has_type_description = ($ord->{itemtype} |
| 200 |
and $biblioitem->itemtype |
| 201 |
and Koha::ItemTypes->find( $biblioitem->itemtype )); |
| 202 |
# use Data::Dumper; |
| 203 |
# warn Dumper('########################################################'); |
| 204 |
# warn Dumper($item_has_type_description); |
| 205 |
# warn Dumper(($ord->{itemtype} and $biblioitem->itemtype)); |
| 206 |
# warn Dumper('########################################################'); |
| 207 |
$ord->{itemtype} = $item_has_type_description ? Koha::ItemTypes->find( $biblioitem->itemtype )->description : undef; |
| 208 |
# END WIP |
| 209 |
#$ord->{itemtype} = ( $ord->{itemtype} and $biblioitem->itemtype ) ? Koha::ItemTypes->find( $biblioitem->itemtype )->description : undef; |
| 199 |
$ord->{en} = $en ? $en : undef; |
210 |
$ord->{en} = $en ? $en : undef; |
| 200 |
$ord->{edition} = $edition ? $edition : undef; |
211 |
$ord->{edition} = $edition ? $edition : undef; |
| 201 |
|
212 |
|
| 202 |
- |
|
|