Rest of the fix for 1402

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Cormack 2007-11-06 14:28:32 -06:00 committed by Joshua Ferraro
parent 9123b86bb8
commit 24af640015
2 changed files with 11 additions and 1 deletions

View file

@ -89,6 +89,9 @@ my $branches = GetBranches();
my $printers = GetPrinters();
my @failedrenews = $query->param('failedrenew');
my @renew_failed;
for (@failedrenews) { $renew_failed[$_] = 1; }
my $findborrower = $query->param('findborrower');
$findborrower =~ s|,| |g;
@ -414,7 +417,7 @@ if ($borrower) {
$datedue =~ s/-//g;
$it->{'od'} = ($datedue < $todaysdate) ? 1 : 0 ;
($it->{'author'} eq '') and $it->{'author'} = ' ';
$it->{'renew_failed'} = $renew_failed[$it->{'itemnumber'}];
# ADDED BY JF: NEW ITEMTYPE COUNT DISPLAY
$issued_itemtypes_count->{ $it->{'itemtype'} }++;

View file

@ -652,6 +652,9 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
<input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
</td>
<td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
<!-- TMPL_IF NAME="renew_failed" -->
<td>Renewal Failed</td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP --> <!-- /loop todayissues -->
<!-- /TMPL_IF --> <!-- /if todayissues -->
@ -689,6 +692,10 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
<input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
</td>
<td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
<!-- TMPL_IF NAME="renew_failed" -->
<td>Renewal Failed</td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP --> <!-- /loop previssues -->
<!-- /TMPL_IF --> <!--/if previssues -->