projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 74666 - added description field to the report sort fields and a link back to...
[freeside.git]
/
httemplate
/
search
/
quotation.html
diff --git
a/httemplate/search/quotation.html
b/httemplate/search/quotation.html
index
55c60f0
..
6a4fef0
100755
(executable)
--- a/
httemplate/search/quotation.html
+++ b/
httemplate/search/quotation.html
@@
-15,6
+15,9
@@
emt('Date'),
emt('Prospect'),
emt('Customer'),
emt('Date'),
emt('Prospect'),
emt('Customer'),
+ emt('Confidence'),
+ emt('Close date'),
+ emt('Description')
],
'fields' => [
'quotationnum',
],
'fields' => [
'quotationnum',
@@
-25,8
+28,15
@@
$prospect_main ? $prospect_main->name : '';
},
sub { my $cust_main = shift->cust_main;
$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) : '';
+ },
+ 'quotation_description',
#\&FS::UI::Web::cust_fields,
],
'sort_fields' => [
#\&FS::UI::Web::cust_fields,
],
'sort_fields' => [
@@
-36,8
+46,11
@@
'_date',
'',
'',
'_date',
'',
'',
+ 'confidence',
+ 'close_date',
+ 'quotation_description'
],
],
- 'align' => 'rrrrll', #.FS::UI::Web::cust_aligns(),
+ 'align' => 'rrrrll
rr
', #.FS::UI::Web::cust_aligns(),
'links' => [
$link,
$link,
'links' => [
$link,
$link,
@@
-45,6
+58,9
@@
$link,
$prospect_link,
$cust_link,
$link,
$prospect_link,
$cust_link,
+ $link,
+ $link,
+ $link,
#( map { $_ ne 'Cust. Status' ? $cust_link : '' }
# FS::UI::Web::cust_header()
#),
#( map { $_ ne 'Cust. Status' ? $cust_link : '' }
# FS::UI::Web::cust_header()
#),