1 <% include('/elements/header.html', 'Payment transaction history' ) %>
3 <FORM ACTION="h_cust_pay.html" METHOD="GET">
4 <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
6 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
9 <TH CLASS="background" COLSPAN=2 ALIGN="left">
10 <FONT SIZE="+1">Search options</FONT>
16 <TD ALIGN="right">Search transactions for: </TD>
18 <SELECT NAME="history_action">
19 <OPTION VALUE="insert,replace_old,replace_new,delete">(all changes)
20 <OPTION VALUE="delete">Insertions
21 <OPTION VALUE="replace_old,replace_new">Replacements
22 <OPTION VALUE="delete">Deletions
28 <TD ALIGN="right" VALIGN="center">Transaction date: </TD>
31 <% include( '/elements/tr-input-beginning_ending.html',
32 prefix => 'history_date',
42 <TD ALIGN="right">Payments of type: </TD>
44 <SELECT NAME="payby" onChange="payby_changed(this)">
45 <OPTION VALUE="">all</OPTION>
46 <OPTION VALUE="CARD">credit card (all)</OPTION>
47 <OPTION VALUE="CARD-VisaMC">credit card (Visa/MasterCard)</OPTION>
48 <OPTION VALUE="CARD-Amex">credit card (American Express)</OPTION>
49 <OPTION VALUE="CARD-Discover">credit card (Discover)</OPTION>
50 <OPTION VALUE="CARD-Maestro">credit card (Maestro/Switch/Solo)</OPTION>
51 <OPTION VALUE="CHEK">electronic check / ACH</OPTION>
52 <OPTION VALUE="BILL">check</OPTION>
53 <OPTION VALUE="PREP">prepaid card</OPTION>
54 <OPTION VALUE="CASH">cash</OPTION>
55 <OPTION VALUE="WEST">Western Union</OPTION>
56 <OPTION VALUE="MCRD">manual credit card</OPTION>
57 <OPTION VALUE="MCHK">manual electronic check</OPTION>
62 <SCRIPT TYPE="text/javascript">
64 function payby_changed(what) {
65 if ( what.options[what.selectedIndex].value == 'BILL' ) {
66 document.getElementById('checkno_caption').style.color = '#000000';
67 what.form.payinfo.disabled = false;
68 what.form.payinfo.style.backgroundColor = '#ffffff';
70 document.getElementById('checkno_caption').style.color = '#bbbbbb';
71 what.form.payinfo.disabled = true;
72 what.form.payinfo.style.backgroundColor = '#dddddd';
79 <TD ALIGN="right"><FONT ID="checkno_caption" COLOR="#bbbbbb">Check #: </FONT></TD>
81 <INPUT TYPE="text" NAME="payinfo" DISABLED STYLE="background-color: #dddddd">
85 <% include( '/elements/tr-select-agent.html',
86 'curr_value' => scalar($cgi->param('agentnum')),
87 'label' => 'for agent: ',
92 <% include( '/elements/tr-select-user.html' ) %>
95 <TD ALIGN="right" VALIGN="center">Payment</TD>
98 <% include( '/elements/tr-input-beginning_ending.html',
106 <% include( '/elements/tr-input-lessthan_greaterthan.html',
115 <INPUT TYPE="submit" VALUE="Get Report">
119 <% include('/elements/footer.html') %>
123 unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');