summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-03-02 15:11:04 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-03-08 13:18:39 -0600
commit7cccefa1dca60909499b11dff96124a793c4c92d (patch)
treeb3cecba9513fe5adf410f9bca6a968348ff8089f /httemplate/search
parent77f5d80f4178f976efbc0be027656e396cecc1cb (diff)
RT#38733: Sales forecasting using quotes
Diffstat (limited to 'httemplate/search')
-rwxr-xr-xhttemplate/search/quotation.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/httemplate/search/quotation.html b/httemplate/search/quotation.html
index 55c60f0c1..2eba71cb0 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',
@@ -27,6 +29,10 @@
sub { my $cust_main = shift->cust_main;
$cust_main ? $cust_main->name : '';
},
+ 'confidence',
+ sub { my $quot = shift;
+ $quot->close_date ? time2str('%b %d %Y', $quot->close_date) : '';
+ },
#\&FS::UI::Web::cust_fields,
],
'sort_fields' => [
@@ -36,8 +42,10 @@
'_date',
'',
'',
+ 'confidence',
+ 'close_date',
],
- 'align' => 'rrrrll', #.FS::UI::Web::cust_aligns(),
+ 'align' => 'rrrrllrr', #.FS::UI::Web::cust_aligns(),
'links' => [
$link,
$link,
@@ -45,6 +53,8 @@
$link,
$prospect_link,
$cust_link,
+ $link,
+ $link,
#( map { $_ ne 'Cust. Status' ? $cust_link : '' }
# FS::UI::Web::cust_header()
#),