[Koha-bugs] [Bug 4036] New: Two conditions missing from circ template messages: USERBLOCKEDOVERDUE and USERBLOCKEDREMAINING

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Mon Jan 11 16:55:38 CET 2010


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4036

           Summary: Two conditions missing from circ template messages:
                    USERBLOCKEDOVERDUE  and USERBLOCKEDREMAINING
           Product: Koha
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Circulation
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: oleonard at myacpl.org
   Estimated Hours: 0.0
 Change sponsored?: ---


>From Circulation.pm:

    my ($blocktype, $count) =
C4::Members::IsMemberBlocked($borrower->{'borrowernumber'});
    if($blocktype == -1){
        ## remaining overdue documents
        $issuingimpossible{USERBLOCKEDREMAINING} = $count;
    }elsif($blocktype == 1){
        ## blocked because of overdue return
        $issuingimpossible{USERBLOCKEDOVERDUE} = $count;
    }

There is no conditional markup for these states in circulation.tmpl, so if
these conditions are triggered the circ template displays an yellow alert box
with no content.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list