Lines 568-582
Link Here
|
568 |
<div id="set-automatic-renewal" class="circ-setting"> |
568 |
<div id="set-automatic-renewal" class="circ-setting"> |
569 |
[% IF NEEDSCONFIRMATION %] |
569 |
[% IF NEEDSCONFIRMATION %] |
570 |
[% IF auto_renew %] |
570 |
[% IF auto_renew %] |
571 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" checked="checked" /> |
571 |
[% IF patron.autorenewal %] |
|
|
572 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" |
573 |
title="Patron has opted out of auto-renewal"/> |
574 |
[% ELSE %] |
575 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" checked="checked" /> |
576 |
[% END %] |
572 |
[% ELSE %] |
577 |
[% ELSE %] |
573 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> |
578 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> |
574 |
[% END %] |
579 |
[% END %] |
575 |
[% ELSE %] |
580 |
[% ELSE %] |
576 |
[% IF auto_renew %] |
581 |
[% IF ( auto_renew && patron.autorenewal ) %] |
577 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" checked="checked" /> |
582 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" checked="checked" /> |
578 |
[% ELSE %] |
583 |
[% ELSIF patron.autorenewal %] |
579 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" /> |
584 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" class="circ_setting" /> |
|
|
585 |
[% ELSE %] |
586 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" |
587 |
title="Patron has opted out of auto-renewal"/> |
580 |
[% END %] |
588 |
[% END %] |
581 |
[% END %] |
589 |
[% END %] |
582 |
|
590 |
|