projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6412f71
)
oops.. need this too
author
jeff
<jeff>
Sat, 1 Sep 2001 21:55:06 +0000
(21:55 +0000)
committer
jeff
<jeff>
Sat, 1 Sep 2001 21:55:06 +0000
(21:55 +0000)
FS/FS/cust_bill_pay.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill_pay.pm
b/FS/FS/cust_bill_pay.pm
index
045a949
..
e7040d9
100644
(file)
--- a/
FS/FS/cust_bill_pay.pm
+++ b/
FS/FS/cust_bill_pay.pm
@@
-108,8
+108,8
@@
sub insert {
my $bill_total = 0;
$bill_total += foreach map { $_->amount }
qsearch('cust_bill_pay', { 'invnum' => $self->invnum } );
my $bill_total = 0;
$bill_total += foreach map { $_->amount }
qsearch('cust_bill_pay', { 'invnum' => $self->invnum } );
-
#
$bill_total += foreach map { $_->amount }
-
#
qsearch('cust_credit_bill', { 'invnum' => $self->invnum } );
+ $bill_total += foreach map { $_->amount }
+ qsearch('cust_credit_bill', { 'invnum' => $self->invnum } );
if ( $bill_total > $cust_bill->charged ) {
$dbh->rollback if $oldAutoCommit;
return "total cust_bill_pay.amount and cust_credit_bill.amount $bill_total".
if ( $bill_total > $cust_bill->charged ) {
$dbh->rollback if $oldAutoCommit;
return "total cust_bill_pay.amount and cust_credit_bill.amount $bill_total".
@@
-171,7
+171,7
@@
sub check {
=head1 VERSION
=head1 VERSION
-$Id: cust_bill_pay.pm,v 1.
1 2001-09-01 20:11:07 ivan
Exp $
+$Id: cust_bill_pay.pm,v 1.
2 2001-09-01 21:55:06 jeff
Exp $
=head1 BUGS
=head1 BUGS