|
Lines 386-392
Link Here
|
| 386 |
</td> |
386 |
</td> |
| 387 |
[% END %] |
387 |
[% END %] |
| 388 |
<td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td> |
388 |
<td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td> |
| 389 |
<td class="homebranch">[% Branches.GetName(item.homebranch) | html %]<span class="shelvingloc">[% item.location | html %]</span> </td> |
389 |
<td class="homebranch"> |
|
|
390 |
[% Branches.GetName(item.homebranch) | html %] |
| 391 |
<span class="shelvingloc"> |
| 392 |
[%# 1 - If permanent location is defined %] |
| 393 |
[%# a - display the description if available, display the code if not %] |
| 394 |
[%# b - display the current location in parens %] |
| 395 |
[%# 2 - If permanent location is not defined, but location is defined %] |
| 396 |
[%# a - display the current location description if available, display the code if not %] |
| 397 |
[%# 3 - If neither are defined, show nothing %] |
| 398 |
[% IF item.permanent_location %] |
| 399 |
[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) | html %] |
| 400 |
[% IF item.location AND item.location != item.permanent_location %] |
| 401 |
([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]) |
| 402 |
[% END %] |
| 403 |
[% ELSIF item.location %] |
| 404 |
[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) | html %] |
| 405 |
[% END %] |
| 406 |
</span> |
| 407 |
</td> |
| 390 |
[% IF ( itemdata_ccode ) %]<td>[% item.ccode | html %]</td>[% END %] |
408 |
[% IF ( itemdata_ccode ) %]<td>[% item.ccode | html %]</td>[% END %] |
| 391 |
<td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber | html %][% END %]</td> |
409 |
<td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber | html %][% END %]</td> |
| 392 |
<td class="status"> |
410 |
<td class="status"> |
| 393 |
- |
|
|