X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2Fcust_bill_ApplicationCommon.pm;fp=FS%2FFS%2Fcust_bill_ApplicationCommon.pm;h=afb90f40e8389913853ff7cfa84bd6b448dc3f3b;hb=e3df3b2b03e37d68d82a38eaf8fc19d56d59ceee;hp=322728fad41d16f995e76aaf84217ab204af021d;hpb=5fc27d11b1f5cf689cf83e35c8fc6bfffd4ffe8e;p=freeside.git diff --git a/FS/FS/cust_bill_ApplicationCommon.pm b/FS/FS/cust_bill_ApplicationCommon.pm index 322728fad..afb90f40e 100644 --- a/FS/FS/cust_bill_ApplicationCommon.pm +++ b/FS/FS/cust_bill_ApplicationCommon.pm @@ -418,10 +418,10 @@ sub apply_to_lineitems { foreach my $cust_svc ( $cust_pkg->cust_svc ) { my $svc_x = $cust_svc->svc_x; - my @part_export = grep { $_->can('export_insert_on_payment') } + my @part_export = grep { $_->can('_export_insert_on_payment') } $cust_svc->part_svc->part_export; - foreach my $part_export ( $cust_svc->part_svc->part_export ) { + foreach my $part_export ( @part_export ) { $error = $part_export->_export_insert_on_payment($svc_x); if ( $error ) { $dbh->rollback if $oldAutoCommit;