summaryrefslogtreecommitdiff
path: root/httemplate/view/prospect_main.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-07-04 18:49:00 -0700
committerIvan Kohler <ivan@freeside.biz>2012-07-04 18:49:00 -0700
commit8f89376bceb710bceb8d2d3b9dd7fe24e7d47cf3 (patch)
tree0bd4bc41720409ceb4dd153acfe5f442508fdb33 /httemplate/view/prospect_main.html
parente185be2238bfd1fb2ca6f36b80c9ad93281fe635 (diff)
quotations, RT#16996
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>