X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fquotation.html;h=cad28a121f02278d0b54250d52ac442d8cdbb9f7;hb=2b199169bd62b8582eedb872b4e76bee48899e81;hp=f9b77b95f0cb194d75c7697cfc30fbd1c41c85f6;hpb=2ffdb485e5534df3d89bcc12d4d02d485e9b28f5;p=freeside.git diff --git a/httemplate/search/quotation.html b/httemplate/search/quotation.html index f9b77b95f..cad28a121 100755 --- a/httemplate/search/quotation.html +++ b/httemplate/search/quotation.html @@ -13,28 +13,30 @@ emt('Setup'), emt('Recurring'), emt('Date'), + emt('Description'), + emt('Close date'), + emt('Confidence'), emt('Prospect'), emt('Customer'), - emt('Confidence'), - emt('Close date'), ], '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) : ''; - }, #\&FS::UI::Web::cust_fields, ], 'sort_fields' => [ @@ -42,21 +44,23 @@ '', #FS::quotation->total_setup_sql, '', #FS::quotation->total_recur_sql, '_date', + 'quotation_description', + 'close_date', + 'confidence', '', '', - 'confidence', - 'close_date', ], - '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() #),