projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix phantom customer links
[freeside.git]
/
httemplate
/
search
/
quotation.html
diff --git
a/httemplate/search/quotation.html
b/httemplate/search/quotation.html
index
55c60f0
..
cad28a1
100755
(executable)
--- a/
httemplate/search/quotation.html
+++ b/
httemplate/search/quotation.html
@@
-13,6
+13,9
@@
emt('Setup'),
emt('Recurring'),
emt('Date'),
emt('Setup'),
emt('Recurring'),
emt('Date'),
+ emt('Description'),
+ emt('Close date'),
+ emt('Confidence'),
emt('Prospect'),
emt('Customer'),
],
emt('Prospect'),
emt('Customer'),
],
@@
-21,11
+24,18
@@
sub { $money_char. shift->total_setup },
sub { $money_char. shift->total_recur },
sub { time2str('%b %d %Y', shift->_date ) },
sub { $money_char. shift->total_setup },
sub { $money_char. shift->total_recur },
sub { time2str('%b %d %Y', shift->_date ) },
+ 'quotation_description',
+ sub { my $quotation = shift;
+ $quotation->close_date ? time2str('%b %d %Y', $quotation->close_date) : '';
+ },
+ sub { my $quotation = shift;
+ length($quotation->confidence) ? $quotation->confidence . '%' : '';
+ },
sub { my $prospect_main = shift->prospect_main;
$prospect_main ? $prospect_main->name : '';
},
sub { my $cust_main = shift->cust_main;
sub { my $prospect_main = shift->prospect_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)
: '';
},
#\&FS::UI::Web::cust_fields,
],
},
#\&FS::UI::Web::cust_fields,
],
@@
-34,11
+44,17
@@
'', #FS::quotation->total_setup_sql,
'', #FS::quotation->total_recur_sql,
'_date',
'', #FS::quotation->total_setup_sql,
'', #FS::quotation->total_recur_sql,
'_date',
+ 'quotation_description',
+ 'close_date',
+ 'confidence',
'',
'',
],
'',
'',
],
- 'align' => 'rrrrll', #.FS::UI::Web::cust_aligns(),
+ 'align' => 'rrrrl
rrl
l', #.FS::UI::Web::cust_aligns(),
'links' => [
'links' => [
+ $link,
+ $link,
+ $link,
$link,
$link,
$link,
$link,
$link,
$link,