summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill_pay.pm
diff options
context:
space:
mode:
authorivan <ivan>2009-07-30 06:42:33 +0000
committerivan <ivan>2009-07-30 06:42:33 +0000
commit4396080ed2829ae0595f1fd777f39d090c9bcd7c (patch)
treebf0b7e0fb2437873447d79d3c1291d62902c3be1 /FS/FS/cust_bill_pay.pm
parent50f5d60aef5ee82be33c978db6424372bfd7995b (diff)
experimental package balances, RT#4339
Diffstat (limited to 'FS/FS/cust_bill_pay.pm')
-rw-r--r--FS/FS/cust_bill_pay.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_bill_pay.pm b/FS/FS/cust_bill_pay.pm
index b7ba2b7..e1b02ae 100644
--- a/FS/FS/cust_bill_pay.pm
+++ b/FS/FS/cust_bill_pay.pm
@@ -7,6 +7,7 @@ use FS::cust_main_Mixin;
use FS::cust_bill_ApplicationCommon;
use FS::cust_bill;
use FS::cust_pay;
+use FS::cust_pkg;
@ISA = qw( FS::cust_main_Mixin FS::cust_bill_ApplicationCommon );
@@ -121,6 +122,7 @@ sub check {
|| $self->ut_foreign_key('invnum', 'cust_bill', 'invnum' )
|| $self->ut_numbern('_date')
|| $self->ut_money('amount')
+ || $self->ut_foreign_keyn('pkgnum', 'cust_pkg', 'pkgnum')
;
return $error if $error;