freeside/httemplate/search cust_bill_event.html,1.3,1.4 cust_main-otaker.cgi,1.3,1.4 cust_main-payinfo.html,1.2,1.3 cust_main-quickpay.html,1.5,1.6 cust_main.cgi,1.58,1.59 cust_main.html,1.4,1.5 cust_pay.html,1.1,1.2 cust_pkg_report.cgi,1.1,1.2 report_cust_credit.html,1.4,1.5 report_cust_pay.html,1.6,1.7 report_prepaid_income.html,1.2,1.3 report_tax.html,1.5,1.6 sqlradius.html,1.3,1.4 svc_acct.html,1.2,1.3 svc_domain.html,1.2,1.3 cust_pay.cgi,1.15,1.16 cust_bill.html,1.9,1.10 cust_credit.html,1.5,1.6 svc_www.cgi,1.1,1.2 reg_code.html,1.1,1.2

ivan ivan at pouncequick.420.am
Sat Mar 5 19:04:34 PST 2005


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv27124/httemplate/search

Modified Files:
	cust_bill_event.html cust_main-otaker.cgi 
	cust_main-payinfo.html cust_main-quickpay.html cust_main.cgi 
	cust_main.html cust_pay.html cust_pkg_report.cgi 
	report_cust_credit.html report_cust_pay.html 
	report_prepaid_income.html report_tax.html sqlradius.html 
	svc_acct.html svc_domain.html cust_pay.cgi cust_bill.html 
	cust_credit.html svc_www.cgi reg_code.html 
Log Message:
add Excel and CSV download of templated reports and clean up their HTML formatting, closes; Bug#520, Bug#1107

Index: svc_www.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/svc_www.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- svc_www.cgi	11 May 2004 00:46:59 -0000	1.1
+++ svc_www.cgi	6 Mar 2005 03:04:29 -0000	1.2
@@ -23,20 +23,19 @@
 my $ulink = [ "${p}view/svc_acct.cgi?", 'usersvc', ];
 
 
-%>
-<%= include( 'elements/search.html',
-               'title'       => 'Virtual Host Search Results',
-               'name'        => 'virtual hosts',
-               'query'       => $sql_query,
-               'count_query' => $count_query,
-               'header'      => [ '#', 'Zone', 'User', ],
-               'fields'      => [ 'svcnum',
-                                  sub { $_[0]->domain_record->zone },
-                                  sub { $_[0]->svc_acct->email },
-                                ],
-               'links'       => [ $link,
-                                  '',
-                                  $ulink,
-                                ],
-           )
+%><%= include( 'elements/search.html',
+                 'title'       => 'Virtual Host Search Results',
+                 'name'        => 'virtual hosts',
+                 'query'       => $sql_query,
+                 'count_query' => $count_query,
+                 'header'      => [ '#', 'Zone', 'User', ],
+                 'fields'      => [ 'svcnum',
+                                    sub { $_[0]->domain_record->zone },
+                                    sub { $_[0]->svc_acct->email },
+                                  ],
+                 'links'       => [ $link,
+                                    '',
+                                    $ulink,
+                                  ],
+             )
 %>

Index: cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pay.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_pay.html	26 Dec 2001 09:18:18 -0000	1.1
+++ cust_pay.html	6 Mar 2005 03:04:29 -0000	1.2
@@ -7,7 +7,7 @@
       Check # Search
     </FONT>
     <BR><BR>
-    <FORM ACTION="cust_pay.cgi" METHOD="post">
+    <FORM ACTION="cust_pay.cgi" METHOD="GET">
       Search for <B>check #</B>:
       <INPUT TYPE="text" NAME="payinfo">
       <INPUT TYPE="hidden" NAME="payby" VALUE="BILL">

Index: report_tax.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_tax.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- report_tax.html	22 Sep 2004 11:28:13 -0000	1.5
+++ report_tax.html	6 Mar 2005 03:04:29 -0000	1.6
@@ -7,7 +7,7 @@
     <SCRIPT TYPE="text/javascript" SRC="../elements/calendar-setup.js"></SCRIPT>  </HEAD>
   <BODY BGCOLOR="#e8e8e8">
     <H1>Tax Report Criteria</H1>
-    <FORM ACTION="report_tax.cgi" METHOD="post">
+    <FORM ACTION="report_tax.cgi" METHOD="GET">
       Return <B>tax report</B> for period:
     <TABLE>
       <TR>

Index: cust_pkg_report.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pkg_report.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_pkg_report.cgi	27 Dec 2003 08:23:38 -0000	1.1
+++ cust_pkg_report.cgi	6 Mar 2005 03:04:29 -0000	1.2
@@ -8,7 +8,7 @@
   </HEAD>
   <BODY BGCOLOR="#e8e8e8">
     <H1>Packages</H1>
-    <FORM ACTION="cust_pkg.cgi" METHOD="post">
+    <FORM ACTION="cust_pkg.cgi" METHOD="GET">
     <INPUT TYPE="hidden" NAME="magic" VALUE="bill">
       Return packages with next bill date:<BR><BR>
       <TABLE>

Index: cust_credit.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_credit.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cust_credit.html	4 Mar 2005 22:24:27 -0000	1.5
+++ cust_credit.html	6 Mar 2005 03:04:29 -0000	1.6
@@ -54,36 +54,35 @@
 
    my $clink = [ "${p}view/cust_main.cgi?", 'custnum' ];
 
-%>
-<%= include( 'elements/search.html',
-               'title'       => $title,
-               'name'        => 'credits',
-               'query'       => $sql_query,
-               'count_query' => $count_query,
-               'count_addl'  => [ '$%.2f total credited', ],
-               #'redirect'    => $link,
-               'header'      =>
-                 [ qw(Amount Date), 'Cust #', 'Contact name',
-                   qw(Company By Reason) ],
-               'fields'      => [
-                 #'crednum',
-                 sub { sprintf('$%.2f', shift->amount ) },
-                 sub { time2str('%b %d %Y', shift->_date ) },
-                 'custnum',
-                 sub { $_[0]->get('last'). ', '. $_[0]->first; },
-                 'company',
-                 'otaker',
-                 'reason',
-               ],
-               'align' => 'rrrllll',
-               'links' => [
-                 '',
-                 '',
-                 $clink,
-                 $clink,
-                 $clink,
-                 '',
-                 '',
-               ],
-    )
+%><%= include( 'elements/search.html',
+                 'title'       => $title,
+                 'name'        => 'credits',
+                 'query'       => $sql_query,
+                 'count_query' => $count_query,
+                 'count_addl'  => [ '$%.2f total credited', ],
+                 #'redirect'    => $link,
+                 'header'      =>
+                   [ qw(Amount Date), 'Cust #', 'Contact name',
+                     qw(Company By Reason) ],
+                 'fields'      => [
+                   #'crednum',
+                   sub { sprintf('$%.2f', shift->amount ) },
+                   sub { time2str('%b %d %Y', shift->_date ) },
+                   'custnum',
+                   sub { $_[0]->get('last'). ', '. $_[0]->first; },
+                   'company',
+                   'otaker',
+                   'reason',
+                 ],
+                 'align' => 'rrrllll',
+                 'links' => [
+                   '',
+                   '',
+                   $clink,
+                   $clink,
+                   $clink,
+                   '',
+                   '',
+                 ],
+      )
 %>

Index: cust_bill.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cust_bill.html	28 May 2004 10:17:08 -0000	1.9
+++ cust_bill.html	6 Mar 2005 03:04:29 -0000	1.10
@@ -58,44 +58,43 @@
        : '';
    };
 
-%>
-<%= include( 'elements/search.html',
-               'title'       => 'Invoice Search Results',
-               'name'        => 'invoices',
-               'query'       => $sql_query,
-               'count_query' => $count_query,
-               'count_addl'  => [ '$%.2f total invoiced',
-                                  '$%.2f total outstanding balance',
-                                ],
-               'redirect'    => $link,
-               'header'      =>
-                 [ 'Invoice #', qw(Balance Amount Date), 'Contact name',
-                   'Company' ],
-               'fields'      => [
-                 'invnum',
-                 sub { sprintf('$%.2f', shift->get('owed') ) },
-                 sub { sprintf('$%.2f', shift->charged     ) },
-                 sub { time2str('%b %d %Y', shift->_date ) },
-                 sub { my $cust_bill = shift;
-                       my $cust_main = $cust_bill->cust_main;
-                       $cust_main
-                         ? $cust_main->get('last'). ', '. $cust_main->first
-                         : "WARNING: can't find cust_main.custnum ".
-                           $cust_bill->custnum. ' (cust_bill.invnum '.
-                           $cust_bill->invnum. ')';
-                     },
-                 sub { my $cust_main = shift->cust_main;
-                       $cust_main ? $cust_main->company : '';
-                     },
-               ],
-               'links' => [
-                 $link,
-                 $link,
-                 $link,
-                 $link,
-                 $clink,
-                 $clink,
-               ],
-
-    )
+%><%= include( 'elements/search.html',
+                 'title'       => 'Invoice Search Results',
+                 'name'        => 'invoices',
+                 'query'       => $sql_query,
+                 'count_query' => $count_query,
+                 'count_addl'  => [ '$%.2f total invoiced',
+                                    '$%.2f total outstanding balance',
+                                  ],
+                 'redirect'    => $link,
+                 'header'      =>
+                   [ 'Invoice #', qw(Balance Amount Date), 'Contact name',
+                     'Company' ],
+                 'fields'      => [
+                   'invnum',
+                   sub { sprintf('$%.2f', shift->get('owed') ) },
+                   sub { sprintf('$%.2f', shift->charged     ) },
+                   sub { time2str('%b %d %Y', shift->_date ) },
+                   sub { my $cust_bill = shift;
+                         my $cust_main = $cust_bill->cust_main;
+                         $cust_main
+                           ? $cust_main->get('last'). ', '. $cust_main->first
+                           : "WARNING: can't find cust_main.custnum ".
+                             $cust_bill->custnum. ' (cust_bill.invnum '.
+                             $cust_bill->invnum. ')';
+                       },
+                   sub { my $cust_main = shift->cust_main;
+                         $cust_main ? $cust_main->company : '';
+                       },
+                 ],
+                 'links' => [
+                   $link,
+                   $link,
+                   $link,
+                   $link,
+                   $clink,
+                   $clink,
+                 ],
+  
+      )
 %>

Index: cust_bill_event.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill_event.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cust_bill_event.html	22 Sep 2004 11:28:13 -0000	1.3
+++ cust_bill_event.html	6 Mar 2005 03:04:29 -0000	1.4
@@ -8,7 +8,7 @@
   </HEAD>
   <BODY BGCOLOR="#e8e8e8">
     <H1>Invoice event errors</H1>
-    <FORM ACTION="cust_bill_event.cgi" METHOD="post">
+    <FORM ACTION="cust_bill_event.cgi" METHOD="GET">
     <TABLE>
       <!--<TR>
         <TD ALIGN="right">Customer type</TD>

Index: report_cust_credit.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_credit.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- report_cust_credit.html	4 Mar 2005 12:34:55 -0000	1.4
+++ report_cust_credit.html	6 Mar 2005 03:04:29 -0000	1.5
@@ -8,7 +8,7 @@
   </HEAD>
   <BODY BGCOLOR="#e8e8e8">
     <H1>Credit report criteria</H1>
-    <FORM ACTION="cust_credit.html" METHOD="post">
+    <FORM ACTION="cust_credit.html" METHOD="GET">
     <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
     <TABLE>
       <TR>

Index: cust_main-otaker.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main-otaker.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cust_main-otaker.cgi	18 Jun 2004 10:28:11 -0000	1.3
+++ cust_main-otaker.cgi	6 Mar 2005 03:04:29 -0000	1.4
@@ -7,7 +7,7 @@
       Customer Search
     </FONT>
     <BR>
-    <FORM ACTION="cust_main.cgi" METHOD="post">
+    <FORM ACTION="cust_main.cgi" METHOD="GET">
       Search for <B>Order taker</B>: 
       <INPUT TYPE="hidden" NAME="otaker_on" VALUE="TRUE">
       <% my $sth = dbh->prepare("SELECT DISTINCT otaker FROM cust_main")

Index: svc_domain.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/svc_domain.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- svc_domain.html	26 Dec 2001 04:52:38 -0000	1.2
+++ svc_domain.html	6 Mar 2005 03:04:29 -0000	1.3
@@ -7,7 +7,7 @@
       Domain Search
     </FONT>
     <BR><BR>
-    <FORM ACTION="svc_domain.cgi" METHOD="post">
+    <FORM ACTION="svc_domain.cgi" METHOD="GET">
       Search for <B>domain</B>: 
       <INPUT TYPE="text" NAME="domain">
 

Index: cust_main.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cust_main.html	23 Feb 2002 11:56:55 -0000	1.4
+++ cust_main.html	6 Mar 2005 03:04:29 -0000	1.5
@@ -7,7 +7,7 @@
       Customer Search
     </FONT>
     <BR><BR>
-    <FORM ACTION="cust_main.cgi" METHOD="post">
+    <FORM ACTION="cust_main.cgi" METHOD="GET">
       <INPUT TYPE="checkbox" NAME="last_on" CHECKED> Search for <B>last name</B>: 
       <INPUT TYPE="text" NAME="last_text">
       using search method: <SELECT NAME="last_type">

Index: cust_main-payinfo.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main-payinfo.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cust_main-payinfo.html	26 Dec 2001 05:19:01 -0000	1.2
+++ cust_main-payinfo.html	6 Mar 2005 03:04:29 -0000	1.3
@@ -7,7 +7,7 @@
       Customer Search
     </FONT>
     <BR>
-    <FORM ACTION="cust_main.cgi" METHOD="post">
+    <FORM ACTION="cust_main.cgi" METHOD="GET">
       Search for <B>Credit card #</B>: 
       <INPUT TYPE="hidden" NAME="card_on" VALUE="TRUE">
       <INPUT TYPE="text" NAME="card">

Index: svc_acct.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/svc_acct.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- svc_acct.html	26 Dec 2001 04:52:38 -0000	1.2
+++ svc_acct.html	6 Mar 2005 03:04:29 -0000	1.3
@@ -7,7 +7,7 @@
       Account Search
     </FONT>
     <BR><BR>
-    <FORM ACTION="svc_acct.cgi" METHOD="post">
+    <FORM ACTION="svc_acct.cgi" METHOD="GET">
       Search for <B>username</B>: 
       <INPUT TYPE="text" NAME="username">
 

Index: cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pay.cgi,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- cust_pay.cgi	4 Mar 2005 22:24:27 -0000	1.15
+++ cust_pay.cgi	6 Mar 2005 03:04:29 -0000	1.16
@@ -98,43 +98,42 @@
 
    my $link = [ "${p}view/cust_main.cgi?", 'custnum' ];
 
-%>
-<%= include( 'elements/search.html',
-               'title'       => $title,
-               'name'        => 'payments',
-               'query'       => $sql_query,
-               'count_query' => $count_query,
-               'count_addl'  => [ '$%.2f total paid', ],
-               'header'      =>
-                 [ qw(Payment Amount Date), 'Cust #', 'Contact name',
-                   'Company', ],
-               'fields'      => [
-                 sub {
-                   my $cust_pay = shift;
-                   if ( $cust_pay->payby eq 'CARD' ) {
-                     'Card #'. $cust_pay->payinfo_masked;
-                   } elsif ( $cust_pay->payby eq 'CHEK' ) {
-                     'E-check acct#'. $cust_pay->payinfo;
-                   } elsif ( $cust_pay->payby eq 'BILL' ) {
-                     'Check #'. $cust_pay->payinfo;
-                   } else {
-                     $cust_pay->payby. ' '. $cust_pay->payinfo;
-                   }
-                 },
-                 sub { sprintf('$%.2f', shift->paid ) },
-                 sub { time2str('%b %d %Y', shift->_date ) },
-                 'custnum',
-                 sub { $_[0]->get('last'). ', '. $_[0]->first; },
-                 'company',
-               ],
-               'align' => 'lrrrll',
-               'links' => [
-                 '',
-                 '',
-                 '',
-                 $link,
-                 $link,
-                 $link,
-               ],
-    )
+%><%= include( 'elements/search.html',
+                 'title'       => $title,
+                 'name'        => 'payments',
+                 'query'       => $sql_query,
+                 'count_query' => $count_query,
+                 'count_addl'  => [ '$%.2f total paid', ],
+                 'header'      =>
+                   [ qw(Payment Amount Date), 'Cust #', 'Contact name',
+                     'Company', ],
+                 'fields'      => [
+                   sub {
+                     my $cust_pay = shift;
+                     if ( $cust_pay->payby eq 'CARD' ) {
+                       'Card #'. $cust_pay->payinfo_masked;
+                     } elsif ( $cust_pay->payby eq 'CHEK' ) {
+                       'E-check acct#'. $cust_pay->payinfo;
+                     } elsif ( $cust_pay->payby eq 'BILL' ) {
+                       'Check #'. $cust_pay->payinfo;
+                     } else {
+                       $cust_pay->payby. ' '. $cust_pay->payinfo;
+                     }
+                   },
+                   sub { sprintf('$%.2f', shift->paid ) },
+                   sub { time2str('%b %d %Y', shift->_date ) },
+                   'custnum',
+                   sub { $_[0]->get('last'). ', '. $_[0]->first; },
+                   'company',
+                 ],
+                 'align' => 'lrrrll',
+                 'links' => [
+                   '',
+                   '',
+                   '',
+                   $link,
+                   $link,
+                   $link,
+                 ],
+      )
 %>

Index: reg_code.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/reg_code.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- reg_code.html	29 Jan 2005 12:34:11 -0000	1.1
+++ reg_code.html	6 Mar 2005 03:04:29 -0000	1.2
@@ -7,29 +7,30 @@
 
 my $count_query = "SELECT COUNT(*) FROM reg_code WHERE agentnum = $agentnum";
 
-%>
-<%= include( 'elements/search.html',
-               'title'       => 'Unused Registration Codes for '. $agent->agent,
-               'name'        => 'registration codes',
-               'query'       => {  'table'   => 'reg_code',
-                                   'hashref' => { 'agentnum' => $agentnum, },
-                                },
-               'count_query' => $count_query,
-               #'redirect'    => $link,
-               'header'      => [ qw(Code Packages) ],
-               'fields'      => [
-                 'code',
-                 sub { map { 
-                         qq!<A HREF="${p}edit/part_pkg.cgi?!. $_->pkgpart. '">'.
-                         $_->pkg. ' - '. $_->comment.
-                         '</A><BR>'
-                       } $_[0]->part_pkg
-                     },
-               ],
-               'links' => [
-                 '',
-                 #$plink,
-                 '',
-               ],
-    )
+%><%= include( 'elements/search.html',
+                 'title'       => 'Unused Registration Codes for '.
+                                  $agent->agent,
+                 'name'        => 'registration codes',
+                 'query'       => {  'table'   => 'reg_code',
+                                     'hashref' => { 'agentnum' => $agentnum, },
+                                  },
+                 'count_query' => $count_query,
+                 #'redirect'    => $link,
+                 'header'      => [ qw(Code Packages) ],
+                 'fields'      => [
+                   'code',
+                   sub {
+                     map { 
+                       qq!<A HREF="${p}edit/part_pkg.cgi?!. $_->pkgpart. '">'.
+                       $_->pkg. ' - '. $_->comment.
+                       '</A><BR>'
+                     } $_[0]->part_pkg
+                   },
+                 ],
+                 'links' => [
+                   '',
+                   #$plink,
+                   '',
+                 ],
+      )
 %>

Index: report_cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_pay.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- report_cust_pay.html	4 Mar 2005 12:34:55 -0000	1.6
+++ report_cust_pay.html	6 Mar 2005 03:04:29 -0000	1.7
@@ -8,7 +8,7 @@
   </HEAD>
   <BODY BGCOLOR="#e8e8e8">
     <H1>Payment report criteria</H1>
-    <FORM ACTION="cust_pay.cgi" METHOD="post">
+    <FORM ACTION="cust_pay.cgi" METHOD="GET">
     <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
     <TABLE>
       <TR>

Index: report_prepaid_income.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_prepaid_income.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- report_prepaid_income.html	11 Apr 2004 01:50:47 -0000	1.2
+++ report_prepaid_income.html	6 Mar 2005 03:04:29 -0000	1.3
@@ -8,7 +8,7 @@
   </HEAD>
   <BODY BGCOLOR="#e8e8e8">
     <H1>Prepaid Income (Unearned Revenue) Report</H1>
-    <FORM ACTION="report_prepaid_income.cgi" METHOD="post">
+    <FORM ACTION="report_prepaid_income.cgi" METHOD="GET">
     <TABLE>
       <TR>
         <TD>Prepaid income (unearned revenue) as of </TD>

Index: sqlradius.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/sqlradius.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- sqlradius.html	22 Nov 2004 02:31:17 -0000	1.3
+++ sqlradius.html	6 Mar 2005 03:04:29 -0000	1.4
@@ -4,7 +4,7 @@
 <SCRIPT TYPE="text/javascript" SRC="../elements/calendar-en.js"></SCRIPT>
 <SCRIPT TYPE="text/javascript" SRC="../elements/calendar-setup.js"></SCRIPT>
 ') %>
-<FORM NAME="OneTrueForm" ACTION="sqlradius.cgi" METHOD="POST">
+<FORM NAME="OneTrueForm" ACTION="sqlradius.cgi" METHOD="GET">
 <% #include( '/elements/table.html' ) %>
 <%= ntable('#cccccc') %>
 <TR>

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main.cgi,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- cust_main.cgi	9 Dec 2004 23:14:56 -0000	1.58
+++ cust_main.cgi	6 Mar 2005 03:04:29 -0000	1.59
@@ -285,7 +285,7 @@
       or eidiot "Illegal referral_custnum\n";
     my $referral_custnum = $1;
     my $cust_main = qsearchs('cust_main', { custnum => $referral_custnum } );
-    print '<FORM METHOD=POST>'.
+    print '<FORM METHOD="GET">'.
           qq!<INPUT TYPE="hidden" NAME="referral_custnum" VALUE="$referral_custnum">!.
           'referrals of <A HREF="'. popurl(2).
           "view/cust_main.cgi?$referral_custnum\">$referral_custnum: ".

Index: cust_main-quickpay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_main-quickpay.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cust_main-quickpay.html	31 Oct 2004 00:01:34 -0000	1.5
+++ cust_main-quickpay.html	6 Mar 2005 03:04:29 -0000	1.6
@@ -8,7 +8,7 @@
     </FONT>
     <BR><BR>
     <A HREF="../">Main Menu</A><BR><BR>
-    <FORM ACTION="cust_main.cgi" METHOD="post">
+    <FORM ACTION="cust_main.cgi" METHOD="GET">
       <INPUT TYPE="hidden" NAME="quickpay" VALUE="yes">
       <INPUT TYPE="checkbox" NAME="last_on" CHECKED> Search for <B>last name</B>: 
       <INPUT TYPE="text" NAME="last_text">




More information about the freeside-commits mailing list