Lines 161-174
Link Here
|
161 |
[% FOREACH header IN item_header_loop %] |
161 |
[% FOREACH header IN item_header_loop %] |
162 |
[% SET attribute = header.attribute %] |
162 |
[% SET attribute = header.attribute %] |
163 |
[% SET can_mod = item.nomod ? "nomod" : "canmod" %] |
163 |
[% SET can_mod = item.nomod ? "nomod" : "canmod" %] |
164 |
[% IF header.attribute AND date_fields.grep('^' _ attribute _ '$').size %] |
164 |
[% IF attribute AND date_fields.grep('^' _ attribute _ '$').size %] |
165 |
[% IF header.attribute == 'datelastseen' %] |
165 |
[% IF attribute == 'datelastseen' %] |
166 |
<td class="[% can_mod | html %]" data-order="[% item.$attribute | html %]">[% item.$attribute | $KohaDates with_hours => 1 %]</td> |
166 |
<td class="[% can_mod | html %]" data-order="[% item.$attribute | html %]">[% item.$attribute | $KohaDates with_hours => 1 %]</td> |
167 |
[% ELSE %] |
167 |
[% ELSE %] |
168 |
<td class="[% can_mod | html %]" data-order="[% item.$attribute | html %]">[% item.$attribute | $KohaDates %]</td> |
168 |
<td class="[% can_mod | html %]" data-order="[% item.$attribute | html %]">[% item.$attribute | $KohaDates %]</td> |
169 |
[% END %] |
169 |
[% END %] |
170 |
[% ELSIF ( item.$attribute && ( attribute == 'price' || attribute == 'replacementprice' ) ) %] |
170 |
[% ELSIF ( item.$attribute && ( attribute == 'price' || attribute == 'replacementprice' ) ) %] |
171 |
<td class="[% can_mod | html %]" data-order="[% item.$attribute | html %]">[% item.$attribute | $Price %]</td> |
171 |
<td class="[% can_mod | html %]" data-order="[% item.$attribute | html %]">[% item.$attribute | $Price %]</td> |
|
|
172 |
[% ELSIF item.$attribute && attribute == 'itemcallnumber' %] |
173 |
<td class="[% can_mod | html %]" data-order="[% item.cn_sort | html %]">[% item.$attribute | html %]</td> |
172 |
[% ELSE %] |
174 |
[% ELSE %] |
173 |
<td class="[% can_mod | html %]">[% item.$attribute | html %]</td> |
175 |
<td class="[% can_mod | html %]">[% item.$attribute | html %]</td> |
174 |
[% END %] |
176 |
[% END %] |
175 |
- |
|
|