Lines 393-429
Link Here
|
393 |
<span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) %] to [% Branches.GetName( item.transfertto ) %] since [% item.transfertwhen | $KohaDates %]</span> |
393 |
<span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) %] to [% Branches.GetName( item.transfertto ) %] since [% item.transfertwhen | $KohaDates %]</span> |
394 |
[% END %] |
394 |
[% END %] |
395 |
|
395 |
|
|
|
396 |
[% itemlost_desc = AuthorisedValues.GetByCode( 'LOST', item.itemlost ) %] |
396 |
[% IF ( item.itemlost ) %] |
397 |
[% IF ( item.itemlost ) %] |
397 |
[% IF itemlostloop %] |
398 |
[% IF itemlost_desc %] |
398 |
[% FOREACH itemlostloo IN itemlostloop %] |
399 |
<span class="lost">[% itemlost_desc %]</span> |
399 |
[% IF itemlostloo.authorised_value == item.itemlost %] |
|
|
400 |
<span class="lost">[% itemlostloo.lib %]</span> |
401 |
[% END %] |
402 |
[% END %] |
403 |
[% ELSE %] |
400 |
[% ELSE %] |
404 |
<span class="lost">Unavailable (lost or missing)</span> |
401 |
<span class="lost">Unavailable (lost or missing)</span> |
405 |
[% END %] |
402 |
[% END %] |
406 |
[% END %] |
403 |
[% END %] |
407 |
|
404 |
|
|
|
405 |
[% withdrawn_desc = AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn ) %] |
408 |
[% IF ( item.withdrawn ) %] |
406 |
[% IF ( item.withdrawn ) %] |
409 |
[% IF itemwithdrawnloop %] |
407 |
[% IF withdrawn_desc %] |
410 |
[% FOREACH itemwithdrawnloo IN itemwithdrawnloop %] |
408 |
<span class="wdn">[% withdrawn_desc %]</span> |
411 |
[% IF itemwithdrawnloo.authorised_value == item.withdrawn %] |
|
|
412 |
<span class="wdn">[% itemwithdrawnloo.lib %]</span> |
413 |
[% END %] |
414 |
[% END %] |
415 |
[% ELSE %] |
409 |
[% ELSE %] |
416 |
<span class="wdn">Withdrawn</span> |
410 |
<span class="wdn">Withdrawn</span> |
417 |
[% END %] |
411 |
[% END %] |
418 |
[% END %] |
412 |
[% END %] |
419 |
|
413 |
|
|
|
414 |
[% damaged_desc = AuthorisedValues.GetByCode( 'DAMAGED', item.damaged ) %] |
420 |
[% IF ( item.damaged ) %] |
415 |
[% IF ( item.damaged ) %] |
421 |
[% IF itemdamagedloop %] |
416 |
[% IF damaged_desc %] |
422 |
[% FOREACH itemdamagedloo IN itemdamagedloop %] |
417 |
<span class="dmg">[% damaged_desc %]</span> |
423 |
[% IF itemdamagedloo.authorised_value == item.damaged %] |
|
|
424 |
<span class="dmg">[% itemdamagedloo.lib %]</span> |
425 |
[% END %] |
426 |
[% END %] |
427 |
[% ELSE %] |
418 |
[% ELSE %] |
428 |
<span class="dmg">Damaged</span> |
419 |
<span class="dmg">Damaged</span> |
429 |
[% END %] |
420 |
[% END %] |
430 |
- |
|
|