}
elsif (@borrower_numbers) {
grep {
- push(@{$items}, {item_number => $_});
+ push(@{$items}, {borrower_number => $_});
} @borrower_numbers;
}
else {
height => $pc_template->get_attr('label_height'), # of the card
width => $pc_template->get_attr('label_width'),
layout => $layout_xml,
- text_wrap_cols => 30, #FIXME: hardcoded
+ text_wrap_cols => 30, #FIXME: hardcoded,
);
+
$patron_card->draw_guide_box($pdf) if $layout_xml->{'guide_box'};
$patron_card->draw_barcode($pdf) if $layout_xml->{'barcode'};