Lines 298-304
sub get_label_summary {
Link Here
|
298 |
my %params = @_; |
298 |
my %params = @_; |
299 |
my $label_number = 0; |
299 |
my $label_number = 0; |
300 |
my @label_summaries = (); |
300 |
my @label_summaries = (); |
301 |
my $query = " SELECT b.title, b.author, bi.itemtype, i.barcode, i.biblionumber, i.itype |
301 |
my $query = " SELECT b.title, b.author, bi.itemtype, i.barcode, i.itemcallnumber, i.biblionumber, i.itype |
302 |
FROM creator_batches AS c LEFT JOIN items AS i ON (c.item_number=i.itemnumber) |
302 |
FROM creator_batches AS c LEFT JOIN items AS i ON (c.item_number=i.itemnumber) |
303 |
LEFT JOIN biblioitems AS bi ON (i.biblioitemnumber=bi.biblioitemnumber) |
303 |
LEFT JOIN biblioitems AS bi ON (i.biblioitemnumber=bi.biblioitemnumber) |
304 |
LEFT JOIN biblio AS b ON (bi.biblionumber=b.biblionumber) |
304 |
LEFT JOIN biblio AS b ON (bi.biblionumber=b.biblionumber) |
Lines 324-329
sub get_label_summary {
Link Here
|
324 |
$label_summary->{'_item_type'} = C4::Context->preference("item-level_itypes") ? $record->{'itype'} : $record->{'itemtype'}; |
324 |
$label_summary->{'_item_type'} = C4::Context->preference("item-level_itypes") ? $record->{'itype'} : $record->{'itemtype'}; |
325 |
$label_summary->{'_barcode'} = $record->{'barcode'}; |
325 |
$label_summary->{'_barcode'} = $record->{'barcode'}; |
326 |
$label_summary->{'_item_number'} = $item->{'item_number'}; |
326 |
$label_summary->{'_item_number'} = $item->{'item_number'}; |
|
|
327 |
$label_summary->{'_item_cn'} = $record->{'itemcallnumber'}; |
327 |
$label_summary->{'_label_id'} = $item->{'label_id'}; |
328 |
$label_summary->{'_label_id'} = $item->{'label_id'}; |
328 |
push (@label_summaries, $label_summary); |
329 |
push (@label_summaries, $label_summary); |
329 |
} |
330 |
} |