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