[% END %]
[% IF ( PATRON_CANT ) %]
<li>This patron can't check out this item per library circulation policy</li>
<li>This patron can't check out this item per library circulation policy.</li>
[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %]
<li>No circ rule deinfed for this patron and itemtype combination.</li>
[% IF ( NOT_FOR_LOAN_FORCING ) %]
<p><a class="btn btn-small" href="/cgi-bin/koha/members/members-home.pl"><i class="fa fa-plus"> </i> Create patron</a></p>
</div>
[% IF noCircRules %]
<div id="nocircruleswarning" class="dialog alert">
<p><strong>Warning:</strong> You have not defined any circ rules and will not be able to check out items to patrons.</p>
<p>Please define rules in the Administration: Circulation and fines rules module or using the link below or ask an adminstrator to do so.<p>
<p><a class="btn btn-small" href="/cgi-bin/koha/admin/smart-rules.pl"><i class="fa fa-plus"> </i> Define circulation and fines rules</a></p>
<div class="yui-u first">
<div id="area-list-left">
use Koha::Patron::Discharge;
use Koha::Reviews;
use Koha::ArticleRequests;
use Koha::IssuingRules;
my $query = new CGI;
$template->param(adminWarning => 1);
}
unless ( Koha::IssuingRules->count ) {
warn "No rules";
$template->param(noCircRules => 1);
output_html_with_http_headers $query, $cookie, $template->output;
-