diff options
author | jeff <jeff> | 2002-02-22 23:18:34 +0000 |
---|---|---|
committer | jeff <jeff> | 2002-02-22 23:18:34 +0000 |
commit | b50b2e5f94774268c271484f9c07bfe316f95527 (patch) | |
tree | 2dec4f5a1b4ed14bc2ae663acd6691e24c1cda9b /httemplate/search/report_receivables.cgi | |
parent | f96fd39dcc9c2563f8ba2976f7b9d23c0b3fcc29 (diff) |
add some reporting features
Diffstat (limited to 'httemplate/search/report_receivables.cgi')
-rwxr-xr-x | httemplate/search/report_receivables.cgi | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/httemplate/search/report_receivables.cgi b/httemplate/search/report_receivables.cgi new file mode 100755 index 000000000..7113ad5a7 --- /dev/null +++ b/httemplate/search/report_receivables.cgi @@ -0,0 +1,26 @@ +<% + +use strict; +use vars qw( $cgi ); +use CGI; +use CGI::Carp qw(fatalsToBrowser); +use FS::UID qw(cgisuidsetup); + +$cgi = new CGI; +&cgisuidsetup($cgi); + +print $cgi->header( '-expires' => '-2m' ), + header('Current Receivables Report Results'); + +open (REPORT, "/usr/bin/freeside-receivables-report -v freeside |"); + +print '<PRE>'; +while(<REPORT>) { + print $_; +} +print '</PRE>'; + +print '</BODY></HTML>'; + +%> + |