Lines 547-553
Link Here
|
547 |
} |
547 |
} |
548 |
|
548 |
|
549 |
[% IF Koha.Preference('UseRecalls') %] |
549 |
[% IF Koha.Preference('UseRecalls') %] |
550 |
if ( row.recall ) { |
550 |
if ( row.recall && row.recall.item_level ) { |
551 |
if ( row.recall.waiting_date ) { |
551 |
if ( row.recall.waiting_date ) { |
552 |
nodes += '<span>%s</span>'.format(_("Waiting at %s since %s").format(escape_str(row.recall.pickup_library_id.str), $date(row.recall.waiting_date))); |
552 |
nodes += '<span>%s</span>'.format(_("Waiting at %s since %s").format(escape_str(row.recall.pickup_library_id.str), $date(row.recall.waiting_date))); |
553 |
} else { |
553 |
} else { |
Lines 560-566
Link Here
|
560 |
} |
560 |
} |
561 |
[% END %] |
561 |
[% END %] |
562 |
|
562 |
|
563 |
if ( ! ( row.not_for_loan_status || item_types_notforloan.get(row.item_type_id) || row.checked_out_date || row.lost_status || row.withdrawn || row.damaged_status || row.transfer || row.first_hold || row.recall ) ) { |
563 |
if ( ! ( row.not_for_loan_status || item_types_notforloan.get(row.item_type_id) || row.checked_out_date || row.lost_status || row.withdrawn || row.damaged_status || row.transfer || row.first_hold || ( row.recall && row.recall.item_level ) ) ) { |
564 |
nodes += ' <span>%s</span>'.format(_("Available")) |
564 |
nodes += ' <span>%s</span>'.format(_("Available")) |
565 |
} |
565 |
} |
566 |
|
566 |
|
567 |
- |
|
|