summaryrefslogtreecommitdiff
path: root/httemplate/view/prospect_main.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/prospect_main.html')
-rw-r--r--httemplate/view/prospect_main.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/httemplate/view/prospect_main.html b/httemplate/view/prospect_main.html
index 801d64bda..6c4595dbe 100644
--- a/httemplate/view/prospect_main.html
+++ b/httemplate/view/prospect_main.html
@@ -78,9 +78,16 @@
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Date') |h %></TH>
</TR>
% foreach my $quotation (@quotations) {
+% if ( $bgcolor eq $bgcolor1 ) {
+% $bgcolor = $bgcolor2;
+% } else {
+% $bgcolor = $bgcolor1;
+% }
+% my $a = qq(<A HREF="$p/view/quotation.html?quotationnum=). #"
+% $quotation->quotationnum. '">';
<TR>
- <TD CLASS="grid" BGCOLOR="#cccccc"><% $quotation->quotationnum %></TD>
- <TD CLASS="grid" BGCOLOR="#cccccc"><% time2str($date_format, $quotation->_date) |h %></TD>
+ <TD CLASS="grid" BGCOLOR="<% $bgcolor %>"><% $a %><% $quotation->quotationnum %></A></TD>
+ <TD CLASS="grid" BGCOLOR="<% $bgcolor %>"><% $a %><% time2str($date_format, $quotation->_date) |h %></A></TD>
</TR>
% }
</TABLE>