View | Details | Raw Unified | Return to bug 34122
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +2 lines)
Lines 423-428 Link Here
423
                                [% IF item.permanent_location %]
423
                                [% IF item.permanent_location %]
424
                                [% SET permloc_authval = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) %]
424
                                [% SET permloc_authval = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) %]
425
                                [% permloc_authval | html %]
425
                                [% permloc_authval | html %]
426
                                [% IF item.location %]
426
                                [% SET item_location = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) %]
427
                                [% SET item_location = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) %]
427
                                [% IF item_location AND item_location != permloc_authval AND item.location != item.permanent_location %]
428
                                [% IF item_location AND item_location != permloc_authval AND item.location != item.permanent_location %]
428
                                    ([% item_location | html %])
429
                                    ([% item_location | html %])
Lines 430-435 Link Here
430
                            [% ELSE %]
431
                            [% ELSE %]
431
                                [% item_location | html %]
432
                                [% item_location | html %]
432
                            [% END %]
433
                            [% END %]
434
                         [% END %]
433
                        </span>
435
                        </span>
434
                    </td>
436
                    </td>
435
                    [% IF ( itemdata_ccode ) %]<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]</td>[% END %]
437
                    [% IF ( itemdata_ccode ) %]<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]</td>[% END %]
436
- 

Return to bug 34122