https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41090

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #11 from Marcel de Rooy <[email protected]> ---
Looks good.
But I came across this code in the circ/renew template:

            [% ELSIF error == "auto_renew" or error == "auto_too_much_oweing"
%]
                <p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio link = 1 %]
( [% item.barcode | html %] ) has been scheduled for automatic renewal. </p>
                [% SET override_limit = error == "auto_renew" ? "AUTO_RENEW" :
"TOO_MUCH" %]

                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
                        [% INCLUDE 'csrf-token.inc' %]
                        <input type="hidden" name="barcode" value="[%
item.barcode | html %]" />
                        <input type="hidden" name="override_limit" value="[%
override_limit | html %]" />
                        <input type="hidden" name="op" value="cud-renew" />
                        <button type="submit" class="btn btn-default
approve"><i class="fa fa-check"></i> Override limit and renew</button>
                    </form>

So it seems here that you are only allowed to renew for the auto_renew case
when the LimitOverride is set.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to