-<& elements/search.html,
- 'title' => $title,
- 'name_singular' => 'sales person',
- 'header' => [ 'Sales person', 'One-Time Sales', 'Recurring Sales', 'Commission', ],
- 'fields' => [ 'salesperson',
- $sales_sub_maker->('setup'),
- $sales_sub_maker->('recur'),
- $commission_sub,
- ],
- 'links' => [ '', $sales_link, $sales_link, $commission_link ],
- 'align' => 'lrrr',
- 'query' => \%query,
- 'count_query' => $count_query,
- 'disableable' => 1,
+<& elements/commission.html,
+ 'title' => $title,
+ 'name_singular' => 'sales person',
+ 'header' => [ 'Sales person' ],
+ 'fields' => [ 'salesperson' ],
+ 'links' => [ '' ],
+ 'align' => 'l',
+ 'query' => \%query,
+ 'count_query' => $count_query,
+ 'disableable' => 1,
+ 'sales_detail_link' => $sales_link,
+ 'credit_detail_link' => $commission_link,