Error when using "bill now" on prorated account

Billing billing at web-runner.com
Thu Jul 10 11:52:22 PDT 2003


Hello,
 
I'm hoping to get some tips as to how I might squash this error. We're
currently using Freeside version 1.4.1rc3, Perl 5.8.0, Debian 2.4.20,
Apache 1.3.27, PostgreSQL 7.3.2
Everything is working with the exception of prorated billing. When I hit
bill now on a prorated account I get this error.
 
Error eval-ing part_pkg->recur pkgpart 1(expression my $mnow = $sdate;
my ($sec,$min,$hour,$mday,$mon,$year) = (localtime($sdate)
)[0,1,2,3,4,5]; my $mstart = timelocal(0,0,0,1,$mon,$year); my $mend =
timelocal(0,0,0,1, $mon == 11 ? 0 : $mon+1, $year+($mon==11)); $sdate =
$mstart; ( $part_pkg->freq - 1 ) * 17.50 / $part_pkg->freq + 17.50 /
$part_pkg->freq * ($mend-$mnow) / ($mend-$mstart) ; ): Can't call method
"can" without a package or object reference at
/usr/local/share/perl/5.8.0/FS/Record.pm line 430.
 
 
Any help would be appreciated as I have been unable to locate any really
similar cases in the threads or in the documentation.
 
Vance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://420.am/pipermail/freeside-users/attachments/20030710/13a0f99e/attachment.htm


More information about the freeside-users mailing list