Lines 84-145
Link Here
|
84 |
</div> |
84 |
</div> |
85 |
[% END %] |
85 |
[% END %] |
86 |
|
86 |
|
87 |
<table id="lostitems-table"> |
87 |
<div class="page-section"> |
88 |
<thead> |
88 |
<table id="lostitems-table"> |
89 |
<tr> |
89 |
<thead> |
90 |
[% IF csv_profiles.count %] |
|
|
91 |
<th class="NoSort"></th> |
92 |
[% END %] |
93 |
<th>Title</th> |
94 |
<th>Author</th> |
95 |
<th>Lost status</th> |
96 |
<th>Lost on</th> |
97 |
<th>Barcode</th> |
98 |
<th>Call number</th> |
99 |
<th>Date last seen</th> |
100 |
<th>Price</th> |
101 |
<th>Rep.price</th> |
102 |
<th>Library</th> |
103 |
<th>Item type</th> |
104 |
<th>Collection</th> |
105 |
<th>Current library</th> |
106 |
<th>Location</th> |
107 |
<th>Not for loan status</th> |
108 |
<th>Notes</th> |
109 |
</tr> |
110 |
</thead> |
111 |
<tbody> |
112 |
[% FOREACH item IN items %] |
113 |
<tr> |
90 |
<tr> |
114 |
[% IF csv_profiles.count %] |
91 |
[% IF csv_profiles.count %] |
115 |
<td style="text-align:center;vertical-align:middle"> |
92 |
<th class="NoSort"></th> |
116 |
<input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" /> |
|
|
117 |
</td> |
118 |
[% END %] |
93 |
[% END %] |
119 |
<td> |
94 |
<th>Title</th> |
120 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber | uri %]">[% item.biblio.title | html %]</a> |
95 |
<th>Author</th> |
121 |
</td> |
96 |
<th>Lost status</th> |
122 |
<td>[% item.biblio.author | html %]</td> |
97 |
<th>Lost on</th> |
123 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) | html %] |
98 |
<th>Barcode</th> |
124 |
<td data-order="[% item.itemlost_on | html %]">[% item.itemlost_on | $KohaDates %]</td> |
99 |
<th>Call number</th> |
125 |
<td> |
100 |
<th>Date last seen</th> |
126 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber | uri %]">[% item.barcode | html %]</a> |
101 |
<th>Price</th> |
127 |
</td> |
102 |
<th>Rep.price</th> |
128 |
<td>[% item.itemcallnumber | html %]</td> |
103 |
<th>Library</th> |
129 |
<td data-order="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates with_hours => 1 %]</td> |
104 |
<th>Item type</th> |
130 |
<td>[% item.price | $Price %]</td> |
105 |
<th>Collection</th> |
131 |
<td>[% item.replacementprice | $Price %]</td> |
106 |
<th>Current library</th> |
132 |
<td>[% Branches.GetName(item.homebranch) | html %]</td> |
107 |
<th>Location</th> |
133 |
<td>[% ItemTypes.GetDescription(item.effective_itemtype) | html %]</td> |
108 |
<th>Not for loan status</th> |
134 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]</td> |
109 |
<th>Notes</th> |
135 |
<td>[% Branches.GetName(item.holdingbranch) | html %]</td> |
|
|
136 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]</td> |
137 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %] |
138 |
<td>[% item.itemnotes | $raw %]</td> |
139 |
</tr> |
110 |
</tr> |
140 |
[% END %] |
111 |
</thead> |
141 |
</tbody> |
112 |
<tbody> |
142 |
</table> |
113 |
[% FOREACH item IN items %] |
|
|
114 |
<tr> |
115 |
[% IF csv_profiles.count %] |
116 |
<td style="text-align:center;vertical-align:middle"> |
117 |
<input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" /> |
118 |
</td> |
119 |
[% END %] |
120 |
<td> |
121 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber | uri %]">[% item.biblio.title | html %]</a> |
122 |
</td> |
123 |
<td>[% item.biblio.author | html %]</td> |
124 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) | html %] |
125 |
<td data-order="[% item.itemlost_on | html %]">[% item.itemlost_on | $KohaDates %]</td> |
126 |
<td> |
127 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber | uri %]">[% item.barcode | html %]</a> |
128 |
</td> |
129 |
<td>[% item.itemcallnumber | html %]</td> |
130 |
<td data-order="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates with_hours => 1 %]</td> |
131 |
<td>[% item.price | $Price %]</td> |
132 |
<td>[% item.replacementprice | $Price %]</td> |
133 |
<td>[% Branches.GetName(item.homebranch) | html %]</td> |
134 |
<td>[% ItemTypes.GetDescription(item.effective_itemtype) | html %]</td> |
135 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]</td> |
136 |
<td>[% Branches.GetName(item.holdingbranch) | html %]</td> |
137 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]</td> |
138 |
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %] |
139 |
<td>[% item.itemnotes | $raw %]</td> |
140 |
</tr> |
141 |
[% END %] |
142 |
</tbody> |
143 |
</table> |
144 |
</div> |
143 |
[% END %] |
145 |
[% END %] |
144 |
[% ELSE %] |
146 |
[% ELSE %] |
145 |
|
147 |
|