projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better error reporting
[freeside.git]
/
FS
/
FS
/
cust_bill.pm
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
e2705fd
..
f67ef96
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-726,8
+726,10
@@
sub batch_card {
'payname' => $cust_main->getfield('payname'),
'amount' => $self->owed,
} );
'payname' => $cust_main->getfield('payname'),
'amount' => $self->owed,
} );
- $cust_pay_batch->insert;
+ my $error = $cust_pay_batch->insert;
+ die $error if $error;
+ '';
}
=item print_text [TIME];
}
=item print_text [TIME];
@@
-948,7
+950,7
@@
sub print_text {
=head1 VERSION
=head1 VERSION
-$Id: cust_bill.pm,v 1.3
5 2002-05-18 09:51:30
ivan Exp $
+$Id: cust_bill.pm,v 1.3
6 2002-05-31 20:31:05
ivan Exp $
=head1 BUGS
=head1 BUGS