[freeside-commits] freeside/FS/FS cust_main.pm,1.199,1.200
Ivan,,,
ivan at wavetail.420.am
Fri Nov 11 17:22:50 PST 2005
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv21481
Modified Files:
cust_main.pm
Log Message:
set payip for all payment types
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -d -r1.199 -r1.200
--- cust_main.pm 21 Oct 2005 15:21:37 -0000 1.199
+++ cust_main.pm 12 Nov 2005 01:22:47 -0000 1.200
@@ -2275,6 +2275,13 @@
: $invoicing_list[0];
my %content = ();
+
+ my $payip = exists($options{'payip'})
+ ? $options{'payip'}
+ : $self->payip;
+ $content{customer_ip} = $payip
+ if length($payip);
+
if ( $method eq 'CC' ) {
$content{card_number} = $payinfo;
@@ -2306,12 +2313,6 @@
: $self->payissue;
$content{issue_number} = $payissue if $payissue;
- my $payip = exists($options{'payip'})
- ? $options{'payip'}
- : $self->payip;
- $content{customer_ip} = $payip
- if length($payip);
-
$content{recurring_billing} = 'YES'
if qsearch('cust_pay', { 'custnum' => $self->custnum,
'payby' => 'CARD',
More information about the freeside-commits
mailing list