Lines 494-504
Link Here
|
494 |
|
494 |
|
495 |
if ( row.lost_status ) { |
495 |
if ( row.lost_status ) { |
496 |
let lost_lib = av_lost.get(row.lost_status.toString()) || _("Unavailable (lost or missing"); |
496 |
let lost_lib = av_lost.get(row.lost_status.toString()) || _("Unavailable (lost or missing"); |
497 |
const hasReturnClaims = row.return_claims && row.return_claims.filter(rc => !rc.resolution).length > 0 ? true : false |
|
|
498 |
nodes += '<span class="lost">%s</span>'.format(escape_str(lost_lib)); |
497 |
nodes += '<span class="lost">%s</span>'.format(escape_str(lost_lib)); |
499 |
if(hasReturnClaims) { |
498 |
[% IF Koha.Preference('ClaimReturnedLostValue') %] |
500 |
nodes += '<span class="claimed_returned">' + _("(Claimed returned)") + '</span>'; |
499 |
const hasReturnClaims = row.return_claims.filter(rc => !rc.resolution).length > 0 ? true : false |
501 |
} |
500 |
if(hasReturnClaims) { |
|
|
501 |
nodes += '<span class="claimed_returned">' + _("(Claimed returned)") + '</span>'; |
502 |
} |
503 |
[% END %] |
502 |
} |
504 |
} |
503 |
|
505 |
|
504 |
if ( row.withdrawn ) { |
506 |
if ( row.withdrawn ) { |
505 |
- |
|
|