Bug 29504: (follow-up) Account for other blockers

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Martin Renvoize 2021-12-15 09:20:52 +00:00 committed by Tomas Cohen Arazi
parent 49ef741405
commit 7a7716b6d8
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -246,7 +246,7 @@
</ul>
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS or ADDITIONAL_MATERIALS %]
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
<input type="hidden" name="restoreduedatespec" />
@ -338,6 +338,30 @@
</form>
[% END # /IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
[% IF ADDITIONAL_MATERIALS && !CAN_user_circulate_force_checkout %]
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
<input type="hidden" name="restoreduedatespec" />
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
<input type="hidden" name="barcode" value="[% barcode | html %]" />
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
<input type="hidden" name="issueconfirmed" value="1" />
<input type="hidden" name="override_high_holds" value="[% override_high_holds | html %]"/>
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
<input type="hidden" name="branch" value="[% branch | html %]" />
[% IF ( RENEW_ISSUE ) %]
<button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, renew (Y)</button>
[% ELSE %]
<button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, check out (Y)</button>
[% END %]
<input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" />
<input type="hidden" name="auto_renew" value="[% auto_renew | html %]" />
</form>
[% END # /IF ADDITIONAL_MATERIALS %]
[% IF ( RESERVED or RESERVE_WAITING or TRANSFERRED or PROCESSING ) %]
<form method="get" action="/cgi-bin/koha/circ/circulation.pl">
<input type="hidden" name="restoreduedatespec" />