|
Lines 44-49
Link Here
|
| 44 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
44 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
| 45 |
<span>Request type disclaimer</span> |
45 |
<span>Request type disclaimer</span> |
| 46 |
[% END %] |
46 |
[% END %] |
|
|
47 |
[% ELSIF op == 'historycheck' %] |
| 48 |
[% WRAPPER breadcrumb_item %] |
| 49 |
<a href="/cgi-bin/koha/ill/ill-requests.pl">ILL requests</a> |
| 50 |
[% END %] |
| 51 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
| 52 |
<span>Request history check</span> |
| 53 |
[% END %] |
| 47 |
[% ELSIF op == 'confirmautoill' %] |
54 |
[% ELSIF op == 'confirmautoill' %] |
| 48 |
[% WRAPPER breadcrumb_item %] |
55 |
[% WRAPPER breadcrumb_item %] |
| 49 |
<a href="/cgi-bin/koha/ill/ill-requests.pl">ILL requests</a> |
56 |
<a href="/cgi-bin/koha/ill/ill-requests.pl">ILL requests</a> |
|
Lines 936-941
Link Here
|
| 936 |
</fieldset> |
943 |
</fieldset> |
| 937 |
</form> |
944 |
</form> |
| 938 |
</div> |
945 |
</div> |
|
|
946 |
[% ELSIF op == 'historycheck' %] |
| 947 |
<!-- historycheck --> |
| 948 |
<h1>Request history check</h1> |
| 949 |
<div id="results" class="page-section"> |
| 950 |
<form method="post" id="historycheck-form"> |
| 951 |
[% INCLUDE 'csrf-token.inc' %] |
| 952 |
<h3>You are attempting to place the following request:</h3> |
| 953 |
<table> |
| 954 |
[% FOREACH key IN whole.keys %] |
| 955 |
[% value = whole.$key %] |
| 956 |
[% IF key != 'op' && key != 'method' && key != 'custom_key' && key != 'custom_value' && key != 'csrf_token' && value %] |
| 957 |
<tr> |
| 958 |
<td>[% key_mapping(key) || key | html %]</td> |
| 959 |
<td>[% value | html %]</td> |
| 960 |
</tr> |
| 961 |
[% END %] |
| 962 |
[% END %] |
| 963 |
</table> |
| 964 |
|
| 965 |
<h3>This interlibrary loan has been requested before:</h3> |
| 966 |
[% IF matching_requests_for_patron.size %] |
| 967 |
<h4>By this patron [%- INCLUDE 'patron-title.inc' patron => request_patron_obj hide_patron_infos_if_needed => 1 -%]:</h4> |
| 968 |
<ul class="list-unstyled"> |
| 969 |
[% FOREACH matching_request_for_patron IN matching_requests_for_patron %] |
| 970 |
<li> |
| 971 |
<a href="/cgi-bin/koha/ill/ill-requests.pl?op=illview&illrequest_id=[% matching_request_for_patron.illrequest_id %]">ILL Request #[% matching_request_for_patron.illrequest_id %]</a> |
| 972 |
</li> |
| 973 |
[% END %] |
| 974 |
</ul> |
| 975 |
[% END %] |
| 976 |
[% IF remaining_matching_requests.size %] |
| 977 |
[% IF matching_requests_for_patron.size %] |
| 978 |
<h4>By other patrons:</h4> |
| 979 |
[% END %] |
| 980 |
<ul class="list-unstyled"> |
| 981 |
[% FOREACH remaining_matching_request IN remaining_matching_requests %] |
| 982 |
<li> |
| 983 |
<a href="/cgi-bin/koha/ill/ill-requests.pl?op=illview&illrequest_id=[% remaining_matching_request.illrequest_id %]">ILL Request #[% remaining_matching_request.illrequest_id %]</a> by [%- INCLUDE 'patron-title.inc' patron => remaining_matching_request.patron hide_patron_infos_if_needed => 1 -%] |
| 984 |
</li> |
| 985 |
[% END %] |
| 986 |
</ul> |
| 987 |
[% END %] |
| 988 |
<fieldset class="action"> |
| 989 |
[% FOREACH key IN whole.keys %] |
| 990 |
[% value = whole.$key %] |
| 991 |
[% IF key != 'op' && key != 'method' && key != 'custom_key' && key != 'custom_value' && key != 'csrf_token' %] |
| 992 |
<input type="hidden" name="[% key | html %]" value="[% value | html %]"> |
| 993 |
[% END %] |
| 994 |
[% END %] |
| 995 |
[% custom_keys = whole.custom_key.split('\0') %] |
| 996 |
[% custom_values = whole.custom_value.split('\0') %] |
| 997 |
[% i = 0 %] |
| 998 |
[% FOREACH custom_key IN custom_keys %] |
| 999 |
<input type="hidden" name="custom_key" value="[% custom_key | html %]"> |
| 1000 |
<input type="hidden" name="custom_value" value="[% custom_values.$i | html %]"> |
| 1001 |
[% i = i + 1 %] |
| 1002 |
[% END %] |
| 1003 |
<input type="hidden" name="op" value="cud-create" /> |
| 1004 |
<input type="hidden" name="stage" value="form"> |
| 1005 |
<input type="hidden" name="history_check_submitted" value="1"> |
| 1006 |
<input type="submit" class="btn btn-primary" value="Submit anyway" /> |
| 1007 |
<a class="cancel" href="ill-requests.pl">Cancel</a> |
| 1008 |
</fieldset> |
| 1009 |
</form> |
| 1010 |
</div> |
| 939 |
[% ELSIF op == 'confirmautoill' %] |
1011 |
[% ELSIF op == 'confirmautoill' %] |
| 940 |
<!-- confirmautoill --> |
1012 |
<!-- confirmautoill --> |
| 941 |
<h1>Confirm automatic request</h1> |
1013 |
<h1>Confirm automatic request</h1> |
| 942 |
- |
|
|