X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fquotations.html;h=b891436234e3d18cd8078f23218dd4098aee1b3e;hb=3d07673d44b50749619bdf1f2b6b931c7ca30d8d;hp=0cf150022cbb9278461c24deaa9a5ffe23e50f88;hpb=03728b5a1f7e30faebc170389c4d91481ade685e;p=freeside.git diff --git a/httemplate/elements/quotations.html b/httemplate/elements/quotations.html index 0cf150022..b89143623 100644 --- a/httemplate/elements/quotations.html +++ b/httemplate/elements/quotations.html @@ -1,20 +1,23 @@ % if ( $curuser->access_right('Generate quotation') ) { <% mt( 'Quotations' ) |h %> - New quotation + Create new quotation % if ( @quotations ) { <& /elements/table-grid.html &> % my $bgcolor1 = '#eeeeee'; % my $bgcolor2 = '#ffffff'; % my $bgcolor = ''; + # <% mt('Date') |h %> <% mt('Setup') |h %> <% mt('Recurring') |h %> + <% mt('Description') |h %> + % foreach my $quotation (@quotations) { % if ( $bgcolor eq $bgcolor1 ) { % $bgcolor = $bgcolor2; @@ -28,6 +31,7 @@ <% $a %><% time2str($date_format, $quotation->_date) |h %> <% $a %><% $quotation->total_setup |h %> <% $a %><% $quotation->total_recur |h %> + <% $a %><% $quotation->quotation_description |h %> <% $opt{convert_label} || 'Convert to customer' %> % } @@ -55,7 +59,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';