|
Lines 137-142
Link Here
|
| 137 |
|
137 |
|
| 138 |
[% FOREACH ITEM_DAT IN ITEM_DATA %] |
138 |
[% FOREACH ITEM_DAT IN ITEM_DATA %] |
| 139 |
<div id="container[% ITEM_DAT.itemnumber | html %]"> |
139 |
<div id="container[% ITEM_DAT.itemnumber | html %]"> |
|
|
140 |
[% SET not_for_loan = 0 %] |
| 141 |
[% IF ITEM_DAT.notforloan || ITEM_DAT.effective_itemtype.notforloan %] |
| 142 |
[% SET not_for_loan = 1 %] |
| 143 |
[% SET not_for_loan_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => ITEM_DAT.notforloan ) %] |
| 144 |
[% END %] |
| 140 |
<h3 id="item[% ITEM_DAT.itemnumber | html %]" class="expanded"> |
145 |
<h3 id="item[% ITEM_DAT.itemnumber | html %]" class="expanded"> |
| 141 |
<i class="fa fa-caret-down" title="Collapse this section"></i> |
146 |
<i class="fa fa-caret-down" title="Collapse this section"></i> |
| 142 |
[% IF ITEM_DAT.barcode -%] |
147 |
[% IF ITEM_DAT.barcode -%] |
|
Lines 144-157
Link Here
|
| 144 |
[% ELSE -%] |
149 |
[% ELSE -%] |
| 145 |
Item number [% ITEM_DAT.itemnumber | html %] |
150 |
Item number [% ITEM_DAT.itemnumber | html %] |
| 146 |
[% END %] |
151 |
[% END %] |
| 147 |
[% IF not_for_loan %][% not_for_loan_description | html %][% END %] |
152 |
[% IF not_for_loan %]([% not_for_loan_description | html %])[% END %] |
| 148 |
</h3> |
153 |
</h3> |
| 149 |
<div id="collapse_item[% ITEM_DAT.itemnumber | html %]" class="page-section clearfix"> |
154 |
<div id="collapse_item[% ITEM_DAT.itemnumber | html %]" class="page-section clearfix"> |
| 150 |
[% SET not_for_loan = 0 %] |
|
|
| 151 |
[% IF ITEM_DAT.notforloan || ITEM_DAT.effective_itemtype.notforloan %] |
| 152 |
[% SET not_for_loan = 1 %] |
| 153 |
[% SET not_for_loan_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] |
| 154 |
[% END %] |
| 155 |
[% IF withdraw_error %] |
155 |
[% IF withdraw_error %] |
| 156 |
<div class="alert alert-warning"> |
156 |
<div class="alert alert-warning"> |
| 157 |
[% IF withdraw_error == 'intransit_cannot_withdraw' %] |
157 |
[% IF withdraw_error == 'intransit_cannot_withdraw' %] |
| 158 |
- |
|
|