Permalink
Browse files

fix for #242

  • Loading branch information...
1 parent 9f32a8a commit 2af3fac9716e03e12f1c8b2cdfa7ac268093e59d tipaul committed May 19, 2003
@@ -88,8 +88,8 @@ You have <TMPL_VAR NAME="issues_count"> items currently issued.<br>
<TD><TMPL_VAR NAME="author"></TD>
<TD><TMPL_VAR NAME="date_due"></TD>
<TD><TMPL_VAR NAME="itemtype"></TD>
-<TD><TMPL_VAR NAME="charges"></TD>
-<TD><TMPL_VAR NAME="status"></TD>
+<TD><TMPL_IF NAME="charges">Yes<TMPL_ELSE>No</TMPL_IF></TD>
+<TD><TMPL_IF NAME="status">Yes<TMPL_ELSE>No</TMPL_IF></TD>
</TR>
</TMPL_LOOP>
@@ -90,8 +90,8 @@ Vous avez <TMPL_VAR NAME="issues_count"> documents en pr&ecirc;t actuellement.<b
<TD><TMPL_VAR NAME="author"></TD>
<TD><TMPL_VAR NAME="date_due"></TD>
<TD><TMPL_VAR NAME="itemtype"></TD>
-<TD><TMPL_VAR NAME="charges"></TD>
-<TD><TMPL_VAR NAME="status"></TD>
+<TD><TMPL_IF NAME="charges">Oui<TMPL_ELSE>Non</TMPL_IF></TD>
+<TD><TMPL_IF NAME="status">Oui<TMPL_ELSE>Non</TMPL_IF></TD>
</TR>
</TMPL_LOOP>
View
@@ -86,8 +86,8 @@
my %env;
my $status = renewstatus(\%env,$borrowernumber, $issue->{'itemnumber'});
- $issue->{'renewable'} = $status;
-
+ $issue->{'status'} = $status;
+
if ($issue->{'overdue'}) {
push @overdues, $issue;
$overdues_count++;

0 comments on commit 2af3fac

Please sign in to comment.