summaryrefslogtreecommitdiff
path: root/httemplate/search/report_agent_credit_payment.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-06-11 02:47:53 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-06-11 02:47:53 -0500
commita9d7da1e256e73dbdcc63e9091d22f5902c5f68d (patch)
tree3c24344d54739d1a1340f529d31e35695bdbb993 /httemplate/search/report_agent_credit_payment.html
parent912cbcaf930f41cd6a087ea4bcc581aad035dd41 (diff)
RT#42348: Add IDT transaction ID to the Agent commission report
Diffstat (limited to 'httemplate/search/report_agent_credit_payment.html')
-rwxr-xr-xhttemplate/search/report_agent_credit_payment.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/httemplate/search/report_agent_credit_payment.html b/httemplate/search/report_agent_credit_payment.html
new file mode 100755
index 000000000..57fc6a79c
--- /dev/null
+++ b/httemplate/search/report_agent_credit_payment.html
@@ -0,0 +1,30 @@
+<& /elements/header.html, 'Package Agent Credits and Payments' &>
+
+<P>Shows agent commission credits, and payments applied to invoices for packages that triggered those credits.</P>
+
+<FORM ACTION="agent_credit_payment.html" METHOD="GET">
+
+ <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
+
+ <& /elements/tr-select-agent.html,
+ 'curr_value' => scalar( $cgi->param('agentnum') ),
+ 'label' => 'Agent ',
+ 'disable_empty' => 0,
+ &>
+
+ <& /elements/tr-input-beginning_ending.html &>
+
+ </TABLE>
+
+<BR>
+<INPUT TYPE="submit" VALUE="Get Report">
+
+</FORM>
+
+<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+
+</%init>