diff options
| author | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-14 16:36:41 -0500 |
|---|---|---|
| committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-14 16:38:58 -0500 |
| commit | 216272ed8a5ccfc8dc72268b9b02cc8fcd4479cf (patch) | |
| tree | ee2aa31446ea3063c28fc3b09ba21e97e8643c77 /httemplate/search | |
| parent | fd1b98490dcb8802f0b0a00120e742e97afd0bbe (diff) | |
RT#38733: Sales forecasting using quotes [percentage sign and check]
Diffstat (limited to 'httemplate/search')
| -rwxr-xr-x | httemplate/search/quotation.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/httemplate/search/quotation.html b/httemplate/search/quotation.html index 16affeb02..f9b77b95f 100755 --- a/httemplate/search/quotation.html +++ b/httemplate/search/quotation.html @@ -29,9 +29,11 @@ sub { my $cust_main = shift->cust_main; $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, ], |
