[Koha-bugs] [Bug 1196] New: Circulation screen should display item type counts, limits, and warnings

bugzilla-daemon at wilbur.katipo.co.nz bugzilla-daemon at wilbur.katipo.co.nz
Thu Oct 5 18:17:50 CEST 2006


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1196

           Summary: Circulation screen should display item type counts,
                    limits, and warnings
           Product: Koha
           Version: branch 2.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Circulation
        AssignedTo: jmf at kados.org
        ReportedBy: oleonard at athenscounty.lib.oh.us
         QAContact: koha-bugs at nongnu.org


The circulation screen should display the count limits for each type of
restricted item:

  10 Video Issues Allowed
  10 Music CD Issues Allowed
  10 Audio Book Issues Allowed

When the account contains items within those categories, the display should
reflect that count:

  2 Video Issues, 8 More Allowed

When the limit has been reached (or exceeded), a warning should display:

  12 Video Issues, Video Limit Reached!

As an example, current NPL circ template contains this markup:

<h4> &nbsp; &nbsp; 
<!-- TMPL_IF NAME="videocount" --><!-- TMPL_VAR NAME="videocount" --> Video
Issues, <!-- TMPL_IF NAME="videoflag" --><span class="error">Video Limit
Reached!</span><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="videoleftcount" --> More
Allowed<!-- /TMPL_IF --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="videoleftcount"
--> Video Issues Allowed<!-- /TMPL_IF --></h4>

<h4> &nbsp; &nbsp;<!-- TMPL_IF NAME="musiccdcount" --><!-- TMPL_VAR
NAME="musiccdcount" --> Music CD Issues, <!-- TMPL_IF NAME="musiccdflag"
--><span class="error">Music CD Limit Reached!</span><!-- TMPL_ELSE --><!--
TMPL_VAR NAME="musiccdleftcount" --> More Allowed<!-- /TMPL_IF --><!--
TMPL_ELSE --><!-- TMPL_VAR NAME="musiccdleftcount" --> Music CD Issues
Allowed<!-- /TMPL_IF --></h4>

<h4> &nbsp; &nbsp;<!-- TMPL_IF NAME="audiobookcount" --><!-- TMPL_VAR
NAME="audiobookcount" --> Audio Book Issues, <!-- TMPL_IF NAME="audiobookflag"
--><span class="error">Audio Book Limit Reached!</span><!-- TMPL_ELSE --><!--
TMPL_VAR NAME="audiobookleftcount" --> More Allowed<!-- /TMPL_IF --><!--
TMPL_ELSE --><!-- TMPL_VAR NAME="audiobookleftcount" --> Audio Book Issues
Allowed<!-- /TMPL_IF --></h4>

In the case of a limit being reached a flag should also be set which can
display along with other warnings (like debarred status). As an example,
current NPL circ template contains this markup:

<!-- TMPL_IF NAME="videoflag" --><li>Patron has reached the <span
class="error">Video issue limit</span></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="musiccdflag" --><li>Patron has reached the <span
class="error">Music CD issue limit</span></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="audiobookflag" --><li>Patron has reached the <span
class="error">Audio Book issue limit</span></li><!-- /TMPL_IF -->




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list