X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_bill.pm;h=7cee5d78ad1113124718e774d1f317b8684dd81c;hb=5f8111de04a4a914c72a1642722476db4728339c;hp=4fb4a7d4758712e1ab4a869f93f56a8e2b39517f;hpb=c7cc0522832d0e1c056f9bce46dd1b4b5551e612;p=freeside.git diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 4fb4a7d47..7cee5d78a 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -3243,6 +3243,14 @@ sub re_X { } +sub API_getinfo { + my $self = shift; + +{ ( map { $_=>$self->$_ } $self->fields ), + 'owed' => $self->owed, + #XXX last payment applied date + }; +} + =back =head1 CLASS METHODS