projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xss
[freeside.git]
/
httemplate
/
search
/
quotation.html
diff --git
a/httemplate/search/quotation.html
b/httemplate/search/quotation.html
index
55c60f0
..
16affeb
100755
(executable)
--- a/
httemplate/search/quotation.html
+++ b/
httemplate/search/quotation.html
@@
-15,6
+15,8
@@
emt('Date'),
emt('Prospect'),
emt('Customer'),
emt('Date'),
emt('Prospect'),
emt('Customer'),
+ emt('Confidence'),
+ emt('Close date'),
],
'fields' => [
'quotationnum',
],
'fields' => [
'quotationnum',
@@
-25,7
+27,11
@@
$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) : '';
+ },
+ 'confidence',
+ sub { my $quot = shift;
+ $quot->close_date ? time2str('%b %d %Y', $quot->close_date) : '';
},
#\&FS::UI::Web::cust_fields,
],
},
#\&FS::UI::Web::cust_fields,
],
@@
-36,8
+42,10
@@
'_date',
'',
'',
'_date',
'',
'',
+ 'confidence',
+ 'close_date',
],
],
- 'align' => 'rrrrll', #.FS::UI::Web::cust_aligns(),
+ 'align' => 'rrrrll
rr
', #.FS::UI::Web::cust_aligns(),
'links' => [
$link,
$link,
'links' => [
$link,
$link,
@@
-45,6
+53,8
@@
$link,
$prospect_link,
$cust_link,
$link,
$prospect_link,
$cust_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()
#),