X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_credit.html;h=7738494db7cdf633d7fc19c25def413821415651;hb=6995be2fb5e8c9a07b38c0bb8976a10a9381fc90;hp=45261711b598e53a9297e0ee00d645732faf4640;hpb=649606c0123e1c21b9b054abf63b2933d41df2cc;p=freeside.git diff --git a/httemplate/search/cust_credit.html b/httemplate/search/cust_credit.html index 45261711b..7738494db 100755 --- a/httemplate/search/cust_credit.html +++ b/httemplate/search/cust_credit.html @@ -63,8 +63,8 @@ push @fields, sub { time2str('%b %d %Y', shift->_date ) }, 'reason', \&FS::UI::Web::cust_fields, ; -push @sort_fields, '_date', 'otaker', 'reason'; -$align .= 'rll'.FS::UI::Web::cust_aligns(), +push @sort_fields, '_date', 'otaker', 'reason', FS::UI::Web::cust_sort_fields(); +$align .= 'rll'.FS::UI::Web::cust_aligns(); push @links, '', '', '', @@ -106,6 +106,11 @@ if ( $cgi->param('commission_salesnum') =~ /^(\d+)$/ ) { push @search, "commission_salesnum = $1"; } +# commission agentnum +if ( $cgi->param('commission_agentnum') =~ /^(\d+)$/ ) { + push @search, "commission_agentnum = $1"; +} + # commission_classnum if ( grep { $_ eq 'commission_classnum' } $cgi->param ) { $cgi->param('commission_classnum') =~ /^(\d*)$/ or die 'guru meditation #13';