Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 7:01 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: billing batch uses incorrect field
PostPosted: Thu May 14, 2009 3:46 pm 
Offline

Joined: Tue Mar 17, 2009 4:00 pm
Posts: 153
Location: Where the sun shines
Hello,

the a2billing_batch_billing.php retrieves the last billing date for a customer from the cc_billing_customer table, field date.

however, the update of this table, done at line 157, uses a field named "start_date" -> therefore, the table is not updated, and subsequent billing runs pickup all the calls ! this should be replaced simply with 'date', imho

strange enough, I have entries in this table - havent identified how they got there !

I've looked into creating a trac entry, but beyond the fact I have no clue how it works (still can guess), looks like it requires a login, & the forum login doesnt work....


jean


Top
 Profile  
 
 Post subject: Re: billing batch uses incorrect field
PostPosted: Thu May 14, 2009 4:45 pm 
Offline

Joined: Tue Mar 17, 2009 4:00 pm
Posts: 153
Location: Where the sun shines
cerien wrote:
strange enough, I have entries in this table - havent identified how they got there !



ok - i got it now... the first run for a customer has no value in the php variable start_date, therefore, the table insert does not specify the clause, and the 'date' field is populated with default value, ie current timestamp..

so the 2nd run is ok, but the third & subsequent will fail !

jean


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group