[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi selfservice.cgi, 1.39, 1.40
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Aug 26 13:52:28 PDT 2009
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail.420.am:/tmp/cvs-serv7512
Modified Files:
selfservice.cgi
Log Message:
improve testing need for invoicing list
Index: selfservice.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/selfservice.cgi,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- selfservice.cgi 22 Aug 2009 00:22:07 -0000 1.39
+++ selfservice.cgi 26 Aug 2009 20:52:26 -0000 1.40
@@ -165,13 +165,18 @@
sub process_change_pay {
my $postal = $cgi->param( 'postal_invoicing' );
+ my $payby = $cgi->param( 'payby' );
my @list =
qw( payby payinfo payinfo1 payinfo2 month year payname
address1 address2 city county state zip country auto paytype
paystate ss stateid stateid_state invoicing_list
);
push @list, 'postal_invoicing' if $postal;
- unless ( $postal || $cgi->param( 'invoicing_list' ) ) {
+ unless ( $payby ne 'BILL'
+ || $postal
+ || $cgi->param( 'invoicing_list' )
+ )
+ {
$action = 'change_pay';
return {
%{&change_pay()},
More information about the freeside-commits
mailing list