Lines 54-77
Link Here
|
54 |
<div id="illrequests" class="maincontent"> |
54 |
<div id="illrequests" class="maincontent"> |
55 |
[% IF method == 'create' %] |
55 |
[% IF method == 'create' %] |
56 |
<h2>New Interlibrary loan request</h2> |
56 |
<h2>New Interlibrary loan request</h2> |
57 |
[% INCLUDE messages %] |
57 |
[% IF stage == 'copyrightclearance' %] |
58 |
[% IF backends %] |
58 |
[% INCLUDE messages %] |
59 |
<form method="post" id="illrequestcreate-form" novalidate="novalidate"> |
59 |
<div> |
60 |
<fieldset class="rows"> |
60 |
<p> |
61 |
<label for="backend">Provider:</label> |
61 |
[% Koha.Preference('ILLModuleCopyrightClearance') %] |
62 |
<select name="backend"> |
62 |
</p> |
63 |
[% FOREACH backend IN backends %] |
63 |
<a href="?method=create&stage=copyrightclearance&backend=[% whole.value.backend %]" |
64 |
<option value="[% backend %]">[% backend %]</option> |
64 |
class="btn btn-sm btn-default"><i class="fa fa-check"></i> Yes</a> |
65 |
[% END %] |
65 |
<a href="/cgi-bin/koha/opac-illrequests.pl" |
66 |
</select> |
66 |
class="btn btn-sm btn-default"><i class="fa fa-times"></i> No</a> |
67 |
</fieldset> |
67 |
</div> |
68 |
<fieldset class="action"> |
|
|
69 |
<input type="hidden" name="method" value="create"> |
70 |
<input type="submit" name="create_select_backend" value="Next"> |
71 |
</fieldset> |
72 |
</form> |
73 |
[% ELSE %] |
68 |
[% ELSE %] |
74 |
[% PROCESS $whole.opac_template %] |
69 |
[% INCLUDE messages %] |
|
|
70 |
[% IF backends %] |
71 |
<form method="post" id="illrequestcreate-form" novalidate="novalidate"> |
72 |
<fieldset class="rows"> |
73 |
<label for="backend">Provider:</label> |
74 |
<select name="backend"> |
75 |
[% FOREACH backend IN backends %] |
76 |
<option value="[% backend %]">[% backend %]</option> |
77 |
[% END %] |
78 |
</select> |
79 |
</fieldset> |
80 |
<fieldset class="action"> |
81 |
<input type="hidden" name="method" value="create"> |
82 |
<input type="submit" name="create_select_backend" value="Next"> |
83 |
</fieldset> |
84 |
</form> |
85 |
[% ELSE %] |
86 |
[% PROCESS $whole.opac_template %] |
87 |
[% END %] |
75 |
[% END %] |
88 |
[% END %] |
76 |
[% ELSIF method == 'list' %] |
89 |
[% ELSIF method == 'list' %] |
77 |
<h2>Interlibrary loan requests</h2> |
90 |
<h2>Interlibrary loan requests</h2> |