projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
queue dependancies
[freeside.git]
/
FS
/
FS
/
cust_bill.pm
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
a419ca8
..
449ab74
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-458,7
+458,7
@@
sub realtime_card {
my($payname, $payfirst, $paylast);
if ( $cust_main->payname ) {
$payname = $cust_main->payname;
my($payname, $payfirst, $paylast);
if ( $cust_main->payname ) {
$payname = $cust_main->payname;
- $payname =~ /^\s*([\w \,\.\-\']*)?\s+([\w\,\.\-\']+)$/
+ $payname =~ /^\s*([\w \,\.\-\']*)?\s+([\w\,\.\-\']+)
\s*
$/
or do {
#$dbh->rollback if $oldAutoCommit;
return "Illegal payname $payname";
or do {
#$dbh->rollback if $oldAutoCommit;
return "Illegal payname $payname";
@@
-466,7
+466,7
@@
sub realtime_card {
($payfirst, $paylast) = ($1, $2);
} else {
$payfirst = $cust_main->getfield('first');
($payfirst, $paylast) = ($1, $2);
} else {
$payfirst = $cust_main->getfield('first');
- $paylast = $cust_main->getfield('
fir
st');
+ $paylast = $cust_main->getfield('
la
st');
$payname = "$payfirst $paylast";
}
$payname = "$payfirst $paylast";
}
@@
-518,6
+518,7
@@
sub realtime_card {
'expiration' => $exp,
'referer' => 'http://cleanwhisker.420.am/',
'email' => $email,
'expiration' => $exp,
'referer' => 'http://cleanwhisker.420.am/',
'email' => $email,
+ 'phone' => $cust_main->daytime || $cust_main->night,
);
$transaction->submit();
);
$transaction->submit();
@@
-947,7
+948,7
@@
sub print_text {
=head1 VERSION
=head1 VERSION
-$Id: cust_bill.pm,v 1.3
2 2002-04-16 22:56:58
ivan Exp $
+$Id: cust_bill.pm,v 1.3
4 2002-05-06 13:36:02
ivan Exp $
=head1 BUGS
=head1 BUGS