diff options
author | Christopher Burger <burgerc@freeside.biz> | 2017-07-11 16:52:02 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2017-07-11 16:52:02 -0400 |
commit | d2d8c2d81508b6e26e2a199c00819f392476d6fb (patch) | |
tree | 2de05862915a26cbd6bcc9f33efdb7f27c61b267 /httemplate/search/quotation.html | |
parent | 486d081eca43a67f8c8b993d424541b5ab661d93 (diff) |
RT# 74666 - updated some UI and description field location.
Diffstat (limited to 'httemplate/search/quotation.html')
-rwxr-xr-x | httemplate/search/quotation.html | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/httemplate/search/quotation.html b/httemplate/search/quotation.html index 6a4fef019..cad28a121 100755 --- a/httemplate/search/quotation.html +++ b/httemplate/search/quotation.html @@ -13,30 +13,30 @@ emt('Setup'), emt('Recurring'), emt('Date'), + emt('Description'), + emt('Close date'), + emt('Confidence'), emt('Prospect'), emt('Customer'), - emt('Confidence'), - emt('Close date'), - emt('Description') ], 'fields' => [ 'quotationnum', 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; $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' => [ @@ -44,23 +44,23 @@ '', #FS::quotation->total_setup_sql, '', #FS::quotation->total_recur_sql, '_date', + 'quotation_description', + 'close_date', + 'confidence', '', '', - 'confidence', - 'close_date', - 'quotation_description' ], - 'align' => 'rrrrllrr', #.FS::UI::Web::cust_aligns(), + 'align' => 'rrrrlrrll', #.FS::UI::Web::cust_aligns(), 'links' => [ $link, $link, $link, $link, - $prospect_link, - $cust_link, $link, $link, $link, + $prospect_link, + $cust_link, #( map { $_ ne 'Cust. Status' ? $cust_link : '' } # FS::UI::Web::cust_header() #), |