X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fquotations.html;h=2af10165209607883303fd0a8fea0d382911fa91;hb=3e9a428cbc8abd4af6fea8eb828126519b43198b;hp=0cf150022cbb9278461c24deaa9a5ffe23e50f88;hpb=ee17093f5b41c1544d00a2670d26794aee33077a;p=freeside.git diff --git a/httemplate/elements/quotations.html b/httemplate/elements/quotations.html index 0cf150022..2af101652 100644 --- a/httemplate/elements/quotations.html +++ b/httemplate/elements/quotations.html @@ -8,6 +8,7 @@ % my $bgcolor1 = '#eeeeee'; % my $bgcolor2 = '#ffffff'; % my $bgcolor = ''; + # <% mt('Date') |h %> @@ -15,6 +16,7 @@ <% mt('Recurring') |h %> + % foreach my $quotation (@quotations) { % if ( $bgcolor eq $bgcolor1 ) { % $bgcolor = $bgcolor2; @@ -55,7 +57,7 @@ if ( $opt{cust_main} ) { $new_query = 'custnum='. $opt{cust_main}->custnum; @quotations = $opt{cust_main}->quotation; } elsif ( $opt{prospect_main} ) { - $new_query = 'quotationnum='. $opt{prospect_main}->quotationnum; + $new_query = 'prospectnum='. $opt{prospect_main}->prospectnum; @quotations = $opt{prospect_main}->quotation; } else { die 'guru meditation #&&: neither cust_main nor prospect_main specified';