-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tomas Cohen Arazi <[email protected]>
- Loading branch information
1 parent
9d82dc1
commit b310557
Showing
6 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
Koha/Plugin/Com/ByWaterSolutions/RapidoILL/intra-includes/cancel_request.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- Nothing here --> |
1 change: 1 addition & 0 deletions
1
Koha/Plugin/Com/ByWaterSolutions/RapidoILL/intra-includes/cancel_request_by_us.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- Nothing here --> |
1 change: 1 addition & 0 deletions
1
Koha/Plugin/Com/ByWaterSolutions/RapidoILL/intra-includes/create.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<span class="alert">The Rapido ILL backend doesn't allow manual ILL requests creation</span> |
37 changes: 37 additions & 0 deletions
37
Koha/Plugin/Com/ByWaterSolutions/RapidoILL/intra-includes/item_recalled.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[% IF whole.error %] | ||
<p>Unhandled error</p> | ||
[% END %] | ||
|
||
[% IF whole.stage == "form" %] | ||
<h2>Specify the recall due date</h2> | ||
<p>Proceeding with this action will set this request to 'Recalled'.</p> | ||
<p> | ||
[% base_url = "/cgi-bin/koha/ill/ill-requests.pl" %] | ||
[% proceed_url = base_url _ "?method=item_recalled&stage=confirm" _ | ||
"&illrequest_id=" _ request.illrequest_id %] | ||
<form id="innreach_recall_form" method="POST" action=[% proceed_url %]> | ||
[% INCLUDE 'csrf-token.inc' %] | ||
<input type="hidden" name="op" value="cud-item_recalled" /> | ||
<input type="hidden" name="method" value="item_recalled" /> | ||
<input type="hidden" name="stage" value="confirm" /> | ||
<input type="hidden" name="backend" value="RapidoILL" /> | ||
<input type="hidden" name="illrequest_id" value="[% request.illrequest_id %]" /> | ||
<fieldset class="rows"> | ||
<ol> | ||
<li> | ||
<label for="recall_due_date" class="required">Due datet: </label> | ||
<input type="text" name="recall_due_date" id="recall_due_date" size="60" class="required datepicker"/> | ||
<span class="required">Required</span> | ||
</li> | ||
</ol> | ||
</fieldset> | ||
<fieldset class="action"> | ||
<input type="submit" value="Submit" /> | ||
<a class="cancel" href="[% base_url %]">Cancel</a> | ||
</fieldset> | ||
</form> | ||
</p> | ||
|
||
[% ELSE %] | ||
<p>Unknown stage. This should not have happened. | ||
[% END %] |
5 changes: 5 additions & 0 deletions
5
Koha/Plugin/Com/ByWaterSolutions/RapidoILL/intra-includes/item_shipped.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[% IF whole.error %] | ||
[% IF whole.status == 'error_on_checkout' %] | ||
<p>There was an <strong>error</strong> checking out the item ([% whole.message | html %]).</p> | ||
[% END %] | ||
[% END %] |
43 changes: 43 additions & 0 deletions
43
Koha/Plugin/Com/ByWaterSolutions/RapidoILL/intra-includes/receive_unshipped.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[% IF whole.error %] | ||
<p>Unhandled error</p> | ||
[% END %] | ||
|
||
[% IF whole.stage == "form" %] | ||
<h2>Receive item (unshipped)</h2> | ||
<p>The item has been received by the library but no precedent <i>itemshipped</i> message received.</p> | ||
<p> | ||
[% base_url = "/cgi-bin/koha/ill/ill-requests.pl" %] | ||
[% proceed_url = base_url _ "?method=receive_unshipped&stage=confirm" _ | ||
"&illrequest_id=" _ request.illrequest_id %] | ||
<form id="innreach_receiveunshipped_form" method="POST" action=[% proceed_url %]> | ||
[% INCLUDE 'csrf-token.inc' %] | ||
<input type="hidden" name="op" value="cud-receive_unshipped" /> | ||
<input type="hidden" name="method" value="receive_unshipped" /> | ||
<input type="hidden" name="stage" value="confirm" /> | ||
<input type="hidden" name="backend" value="RapidoILL" /> | ||
<input type="hidden" name="illrequest_id" value="[% request.illrequest_id %]" /> | ||
<fieldset class="rows"> | ||
<ol> | ||
<li> | ||
<label for="item_barcode" class="required">Barcode: </label> | ||
<input type="text" name="item_barcode" id="item_barcode" size="60" class="required"/> | ||
<span class="required">Required</span> | ||
</li> | ||
<li> | ||
<label for="item_callnumber" class="required">Call number: </label> | ||
<input type="text" name="item_callnumber" id="item_callnumber" size="60" class="required"/> | ||
<span class="required">Required</span> | ||
</li> | ||
</ol> | ||
</fieldset> | ||
<fieldset class="action"> | ||
<input type="submit" value="Submit" /> | ||
<a class="cancel" href="[% base_url %]">Cancel</a> | ||
</fieldset> | ||
|
||
</form> | ||
</p> | ||
|
||
[% ELSE %] | ||
<p>Unknown stage. This should not have happened. | ||
[% END %] |