X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fquotation.html;h=f9b77b95f0cb194d75c7697cfc30fbd1c41c85f6;hb=df21571ae9b56b8645c53053fdabc78ca6eeffed;hp=2eba71cb06e4e8e4803fbdffdd8274e3488f92b8;hpb=8b70832328eb02dc9253dab7b436c6479b588162;p=freeside.git diff --git a/httemplate/search/quotation.html b/httemplate/search/quotation.html index 2eba71cb0..f9b77b95f 100755 --- a/httemplate/search/quotation.html +++ b/httemplate/search/quotation.html @@ -27,11 +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) : ''; }, - 'confidence', - sub { my $quot = shift; - $quot->close_date ? time2str('%b %d %Y', $quot->close_date) : ''; + 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, ],