X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_pay.pm;h=0eae59f21d4c2069a109b3743f3a6c64637e2b6b;hb=608586dce994179032e58eb7aee1ae9d163fe406;hp=67fdcf2466638db4616422b408d3c35d1d421158;hpb=ded6b8bd1614427b30a49f8bf336392960ddf415;p=freeside.git diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 67fdcf246..0eae59f21 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -402,11 +402,19 @@ sub unapplied { sprintf("%.2f", $amount ); } -=back +=item cust_main + +Returns the parent customer object (see L). + +=cut -=head1 VERSION +sub cust_main { + my $self = shift; + qsearchs( 'cust_main', { 'custnum' => $self->custnum } ); +} -$Id: cust_pay.pm,v 1.21.4.2 2002-11-19 09:52:02 ivan Exp $ + +=back =head1 BUGS