-%><%= include( 'elements/search.html',
- 'title' => 'Tax exemptions',
- 'name' => 'tax exemptions',
- 'query' => $query,
- 'count_query' => $count_query,
- 'count_addl' => [ $money_char. '%.2f total', ],
- 'header' => [
- '#',
- 'Date',
- 'Amount',
-
- #'Description',
- #'Setup charge',
- #'Recurring charge',
- #'Invoice',
- #'Date',
-
- FS::UI::Web::cust_header(),
- ],
- 'fields' => [
- 'exemptpkgnum',
- sub { $_[0]->month. '/'. $_[0]->year; },
- 'amount',
-
- #sub { $_[0]->pkgnum > 0
- # ? $_[0]->get('pkg')
- # : $_[0]->get('itemdesc')
- # },
- ##strikethrough or "N/A ($amount)" or something these when
- ## they're not applicable to pkg_tax search
- #sub { sprintf($money_char.'%.2f', shift->setup ) },
- #sub { sprintf($money_char.'%.2f', shift->recur ) },
- #'invnum',
- #sub { time2str('%b %d %Y', shift->_date ) },
-
- \&FS::UI::Web::cust_fields,
- ],
- 'links' => [
- '',
- '',
- '',
-
- #'',
- #'',
- #'',
- #'',
- #$ilink,
- #$ilink,
-
- ( map { $clink } FS::UI::Web::cust_header() ),
- ],
- 'align' => 'rrr', # 'rlrrrc',
- )
-%>
-