Lines 1-3
Link Here
|
|
|
1 |
[% USE Koha %] |
1 |
[% USE KohaAuthorisedValues %] |
2 |
[% USE KohaAuthorisedValues %] |
2 |
[% USE KohaBranchName %] |
3 |
[% USE KohaBranchName %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
Lines 177-187
$(document).ready(function() { calcNewsuggTotal(); });
Link Here
|
177 |
<li><span class="label">Publisher:</span>[% publishercode %]</li> |
178 |
<li><span class="label">Publisher:</span>[% publishercode %]</li> |
178 |
<li><span class="label">Publication place:</span>[% place %]</li> |
179 |
<li><span class="label">Publication place:</span>[% place %]</li> |
179 |
<li><span class="label">Collection title:</span>[% collectiontitle %]</li> |
180 |
<li><span class="label">Collection title:</span>[% collectiontitle %]</li> |
180 |
<li><span class="label">Document type:</span> |
181 |
[% IF ( Koha.Preference( 'SuggestionsUseValues' ) != 'none' ) %] |
181 |
[% FOREACH supports_loo IN supports_loop %] |
182 |
<li> |
182 |
[% IF ( supports_loo.selected ) %][% supports_loo.lib %][% END %] |
183 |
[% IF ( Koha.Preference( 'SuggestionsUseValues' ) == 'itemtypes' ) %] |
183 |
[% END %] |
184 |
<span class="label">Item type:</span> |
184 |
</li> |
185 |
[% ELSIF ( Koha.Preference( 'SuggestionsUseValues' ) == 'ccode' ) %] |
|
|
186 |
<span class="label">Collection:</span> |
187 |
[% ELSIF ( Koha.Preference( 'SuggestionsUseValues' ) == 'loc' )%] |
188 |
<span class="label">Shelving location:</span> |
189 |
[% END %] |
190 |
[% FOREACH supports_loo IN supports_loop %] |
191 |
[% IF ( supports_loo.selected ) %][% supports_loo.lib %][% END %] |
192 |
[% END %] |
193 |
</li> |
194 |
[% END %] |
195 |
|
185 |
[% IF ( patron_reason_loop ) %] |
196 |
[% IF ( patron_reason_loop ) %] |
186 |
<li><span class="label">Reason for suggestion: </span> |
197 |
<li><span class="label">Reason for suggestion: </span> |
187 |
[% FOREACH patron_reason_loo IN patron_reason_loop %] |
198 |
[% FOREACH patron_reason_loo IN patron_reason_loop %] |
Lines 292-305
$(document).ready(function() { calcNewsuggTotal(); });
Link Here
|
292 |
<li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" value="[% publishercode %]"/></li> |
303 |
<li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" value="[% publishercode %]"/></li> |
293 |
<li><label for="place">Publication place:</label><input type="text" id="place" name="place" size="50" maxlength="80" value="[% place %]"/></li> |
304 |
<li><label for="place">Publication place:</label><input type="text" id="place" name="place" size="50" maxlength="80" value="[% place %]"/></li> |
294 |
<li><label for="collectiontitle">Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" size="50" maxlength="80" value="[% collectiontitle %]"/></li> |
305 |
<li><label for="collectiontitle">Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" size="50" maxlength="80" value="[% collectiontitle %]"/></li> |
295 |
<li><label for="itemtype">Document type:</label> |
306 |
[% IF ( Koha.Preference( 'SuggestionsUseValues' ) != 'none' ) %] |
296 |
<select id="itemtype" name="itemtype" > |
307 |
<li> |
297 |
[% FOREACH supports_loo IN supports_loop %] |
308 |
[% IF ( Koha.Preference( 'SuggestionsUseValues' ) == 'itemtypes' ) %] |
298 |
[% IF ( supports_loo.selected ) %]<option selected="selected" value="[% supports_loo.authorised_value %]">[% ELSE %]<option value="[% supports_loo.authorised_value %]">[% END %] |
309 |
<label for="itemtype">Item type:</label> |
299 |
[% supports_loo.lib %]</option> |
310 |
[% ELSIF ( Koha.Preference( 'SuggestionsUseValues' ) == 'ccode' ) %] |
300 |
[% END %] |
311 |
<label for="itemtype">Collection:</label> |
301 |
</select> |
312 |
[% ELSIF ( Koha.Preference( 'SuggestionsUseValues' ) == 'loc' )%] |
302 |
</li> |
313 |
<label for="itemtype">Shelving location:</label> |
|
|
314 |
[% END %] |
315 |
<select id="itemtype" name="itemtype" > |
316 |
<option value=""></option> |
317 |
[% FOREACH supports_loo IN supports_loop %] |
318 |
[% IF ( supports_loo.selected ) %]<option selected="selected" value="[% supports_loo.authorised_value %]">[% ELSE %]<option value="[% supports_loo.authorised_value %]">[% END %] |
319 |
[% supports_loo.lib %]</option> |
320 |
[% END %] |
321 |
</select> |
322 |
</li> |
323 |
[% END %] |
303 |
[% IF ( patron_reason_loop ) %]<li><label for="patronreason">Reason for suggestion: </label><select name="patronreason" id="patronreason"><option value=""> -- Choose -- </option>[% FOREACH patron_reason_loo IN patron_reason_loop %] |
324 |
[% IF ( patron_reason_loop ) %]<li><label for="patronreason">Reason for suggestion: </label><select name="patronreason" id="patronreason"><option value=""> -- Choose -- </option>[% FOREACH patron_reason_loo IN patron_reason_loop %] |
304 |
[% IF ( patron_reason_loo.selected ) %]<option value="[% patron_reason_loo.authorised_value %]" selected="selected">[% patron_reason_loo.lib %]</option>[% ELSE %]<option value="[% patron_reason_loo.authorised_value %]">[% patron_reason_loo.lib %]</option>[% END %] |
325 |
[% IF ( patron_reason_loo.selected ) %]<option value="[% patron_reason_loo.authorised_value %]" selected="selected">[% patron_reason_loo.lib %]</option>[% ELSE %]<option value="[% patron_reason_loo.authorised_value %]">[% patron_reason_loo.lib %]</option>[% END %] |
305 |
[% END %]</select></li>[% END %] |
326 |
[% END %]</select></li>[% END %] |