'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, '',
'',
'',
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';