1 <& /elements/header.html, mt('Credit package source report') &>
3 <FORM ACTION="cust_credit_source_bill_pkg.html" METHOD="GET">
4 <!--<INPUT TYPE="hidden" NAME="magic" VALUE="_date">-->
6 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
8 <& /elements/tr-select-user.html,
9 'label' => emt('Employee: '),
10 'access_user' => $access_user,
13 <& /elements/tr-select-agent.html,
14 curr_value => scalar( $cgi->param('agentnum') ),
15 #label => emt('Line items for agent: '),
20 <& /elements/tr-select-cust_main-status.html,
21 label => emt('Customer status'),
26 <& /elements/tr-select-cust_class.html,
27 'label' => emt('Class'),
28 'field' => 'cust_classnum',
30 'pre_options' => [ '' => emt('(none)') ],
35 <!-- some sort of label saying this is the credit date... -->
36 <& /elements/tr-input-beginning_ending.html,
41 <& /elements/tr-input-lessthan_greaterthan.html,
42 label => emt('Amount'),
50 <INPUT TYPE="submit" VALUE="<% mt('Get Report') |h %>">
54 <& /elements/footer.html &>
59 unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
61 my $access_user = $FS::CurrentUser::CurrentUser->access_users_hashref('table' => 'cust_credit');
63 my $conf = new FS::Conf;