X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fquotation.html;h=f9b77b95f0cb194d75c7697cfc30fbd1c41c85f6;hb=8572f2347f879d414a60e8e0dc111fa927d66c14;hp=55c60f0c198a8a6aea93a44d208e31300e8c7a24;hpb=82f76d01660b785f6c4ea13ba547c93c1c2c404d;p=freeside.git diff --git a/httemplate/search/quotation.html b/httemplate/search/quotation.html index 55c60f0c1..f9b77b95f 100755 --- a/httemplate/search/quotation.html +++ b/httemplate/search/quotation.html @@ -15,6 +15,8 @@ emt('Date'), emt('Prospect'), emt('Customer'), + emt('Confidence'), + emt('Close date'), ], 'fields' => [ 'quotationnum', @@ -25,7 +27,13 @@ $prospect_main ? $prospect_main->name : ''; }, sub { my $cust_main = shift->cust_main; - $cust_main ? $cust_main->name : ''; + $cust_main ? encode_entities($cust_main->name) : ''; + }, + sub { my $quotation = shift; + length($quotation->confidence) ? $quotation->confidence . '%' : ''; + }, + sub { my $quotation = shift; + $quotation->close_date ? time2str('%b %d %Y', $quotation->close_date) : ''; }, #\&FS::UI::Web::cust_fields, ], @@ -36,8 +44,10 @@ '_date', '', '', + 'confidence', + 'close_date', ], - 'align' => 'rrrrll', #.FS::UI::Web::cust_aligns(), + 'align' => 'rrrrllrr', #.FS::UI::Web::cust_aligns(), 'links' => [ $link, $link, @@ -45,6 +55,8 @@ $link, $prospect_link, $cust_link, + $link, + $link, #( map { $_ ne 'Cust. Status' ? $cust_link : '' } # FS::UI::Web::cust_header() #),