Lines 94-100
Link Here
|
94 |
<th>Item type</th> |
94 |
<th>Item type</th> |
95 |
<th>Price</th> |
95 |
<th>Price</th> |
96 |
<th>Non-public note</th> |
96 |
<th>Non-public note</th> |
97 |
<th>Return claims</th> |
97 |
[% IF Koha.Preference('ClaimReturnedLostValue') %] |
|
|
98 |
<th>Return claims</th> |
99 |
[% END %] |
98 |
</tr> |
100 |
</tr> |
99 |
</thead> |
101 |
</thead> |
100 |
[%- BLOCK subject -%]Overdue:[%- END -%] |
102 |
[%- BLOCK subject -%]Overdue:[%- END -%] |
Lines 120-138
Link Here
|
120 |
<td>[% ItemTypes.GetDescription( overdueloo.itemtype ) | html %]</td> |
122 |
<td>[% ItemTypes.GetDescription( overdueloo.itemtype ) | html %]</td> |
121 |
<td>[% overdueloo.replacementprice | $Price %]</td> |
123 |
<td>[% overdueloo.replacementprice | $Price %]</td> |
122 |
<td>[% overdueloo.itemnotes_nonpublic | html %]</td> |
124 |
<td>[% overdueloo.itemnotes_nonpublic | html %]</td> |
123 |
<td> |
125 |
[% IF Koha.Preference('ClaimReturnedLostValue') %] |
124 |
[% IF ( overdueloo.return_claim_created_on ) %] |
126 |
<td> |
|
|
127 |
[% IF ( overdueloo.return_claim_created_on ) %] |
125 |
<span class="badge">[% overdueloo.return_claim_created_on | $KohaDates with_hours => 1 %]</span> |
128 |
<span class="badge">[% overdueloo.return_claim_created_on | $KohaDates with_hours => 1 %]</span> |
126 |
[% ELSIF Koha.Preference('ClaimReturnedLostValue') %] |
129 |
[% ELSE %] |
127 |
<a class="btn btn-default btn-xs claim-returned-btn" data-itemnumber=[% overdueloo.itemnum | html %]> |
130 |
<a class="btn btn-default btn-xs claim-returned-btn" data-itemnumber=[% overdueloo.itemnum | html %]> |
128 |
<i class="fa fa-exclamation-circle"></i> Claim returned |
131 |
<i class="fa fa-exclamation-circle"></i> Claim returned |
129 |
</a> |
132 |
</a> |
130 |
[% ELSE %] |
133 |
[% END %] |
131 |
<a class="btn btn-default btn-xs" disabled="disabled" title="ClaimReturnedLostValue is not set, this feature is disabled"> |
134 |
</td> |
132 |
<i class="fa fa-exclamation-circle"></i> Claim returned |
135 |
[% END %] |
133 |
</a> |
|
|
134 |
[% END %] |
135 |
</td> |
136 |
</tr> |
136 |
</tr> |
137 |
[% END %] |
137 |
[% END %] |
138 |
</tbody> |
138 |
</tbody> |
Lines 319-324
Link Here
|
319 |
|
319 |
|
320 |
$(document).ready(function(){ |
320 |
$(document).ready(function(){ |
321 |
var table_settings = [% TablesSettings.GetTableSettings( 'circ', 'overdues', 'circ-overdues', 'json' ) | $raw %]; |
321 |
var table_settings = [% TablesSettings.GetTableSettings( 'circ', 'overdues', 'circ-overdues', 'json' ) | $raw %]; |
|
|
322 |
|
323 |
[% IF !Koha.Preference('ClaimReturnedLostValue') %] |
324 |
table_settings['columns'].splice(13, 1); |
325 |
[% END %] |
326 |
|
322 |
KohaTable("overduest", { |
327 |
KohaTable("overduest", { |
323 |
"sPaginationType": "full", |
328 |
"sPaginationType": "full", |
324 |
"autoWidth": false, |
329 |
"autoWidth": false, |
325 |
- |
|
|