View | Details | Raw Unified | Return to bug 4036
Collapse All | Expand All

(-)a/C4/Members.pm (+5 lines)
Lines 594-599 return : Link Here
594
sub IsMemberBlocked {
594
sub IsMemberBlocked {
595
    my $borrowernumber = shift;
595
    my $borrowernumber = shift;
596
    my $dbh            = C4::Context->dbh;
596
    my $dbh            = C4::Context->dbh;
597
598
    if ( C4::Context->preference('AllowIssuingForPatronsWithOverdues') ) {
599
      return 0;
600
    }
601
597
    # if he have late issues
602
    # if he have late issues
598
    my $sth = $dbh->prepare(
603
    my $sth = $dbh->prepare(
599
        "SELECT COUNT(*) as latedocs
604
        "SELECT COUNT(*) as latedocs
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (+6 lines)
Lines 73-78 Circulation: Link Here
73
                  no: "Don't allow"
73
                  no: "Don't allow"
74
            - staff to override and check out items that are marked as not for loan.
74
            - staff to override and check out items that are marked as not for loan.
75
        -
75
        -
76
            - pref: AllowIssuingForPatronsWithOverdues
77
              choices:
78
                  yes: Allow
79
                  no: "Don't allow"
80
            - patrons with overdue items to check out new items.
81
        -
76
            - pref: AllowRenewalLimitOverride
82
            - pref: AllowRenewalLimitOverride
77
              choices:
83
              choices:
78
                  yes: Allow
84
                  yes: Allow
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl (-1 / +9 lines)
Lines 337-342 function refocus(calendar) { Link Here
337
        <!-- TMPL_IF NAME="NOTSAMEBRANCH" -->
337
        <!-- TMPL_IF NAME="NOTSAMEBRANCH" -->
338
            <li>This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</li>
338
            <li>This item belongs to <!-- TMPL_VAR NAME="itemhomebranch" --> and cannot be issued from this location.</li>
339
        <!-- /TMPL_IF -->
339
        <!-- /TMPL_IF -->
340
341
        <!-- TMPL_IF NAME="USERBLOCKEDREMAINING" -->
342
            <li>Patron has had overdue items and is blocked for <!-- TMPL_VAR NAME="USERBLOCKEDREMAINING" --> day(s).</li>
343
        <!-- /TMPL_IF -->
344
345
        <!-- TMPL_IF NAME="USERBLOCKEDOVERDUE" -->
346
            <li>Patron has <!-- TMPL_VAR NAME="USERBLOCKEDOVERDUE" --> overdue item(s).</li>
347
        <!-- /TMPL_IF -->
348
340
        </ul>
349
        </ul>
341
350
342
    <!-- TMPL_IF NAME="memberofinstution" -->
351
    <!-- TMPL_IF NAME="memberofinstution" -->
343
- 

Return to bug 4036