Hi
I havent downloaded 1.7 yet.... but I guess it is very close from 1.4 on that part.
Receipts are calculated by looking into the cc_call tables, and summing all calls from last billing till the current moment.
Invoices only take the credit, and use that as the amount owed.
So, you should see that the customer credit is different from the sum of calls for the period.
In your case, there is a delta of 51 MXN. This can be caused by different reasons...
few ways forward -
A/ try to reconcile the 51 pesos, and if you find out what causes it, delete the charges (it is small money - but bear this mind for inter-operator reconcilliation) - look carefully around the beginning and end of the billing period - I vaguely remember this could be related
B/ try to implement a code change
B1/ modify the php so the invoice amount comes from the same variables as the receipt - should be quick - and that the credit is increased by this value. you will see that the credit goes back to 51 pesos and not 0 - and this will re-happen forever...
B2/ try to implement my code change from 1.4
What I have done in 1.4 is modify the script so the invoice takes the same amount as the receipt, along with quite a few other changes. The code is at the end of the thread:
viewtopic.php?f=21&t=5881Obviously, you need to have a test box before running this on your prod ! you first want to do a diff between 1.4 & 1.7, and then see how to merge my changes with 1.7 - not immediate.... i agree