Today i notice that the FT2C package not work proper.
I use the a2billing master version 2.01
in the rate simulator the packages allways return the max value like the user not make use off the FT2C package.
A trace in sql show the id_card variable is not populated
when i put an fixed card id in Class.RateEngine.php row 461 then the calculation is as it have to be.
SELECT COUNT(*) AS number_calls FROM cc_card_package_offer WHERE date_consumption >= DATE_SUB(CURRENT_DATE, INTERVAL 2 DAY) AND id_cc_card = '' AND id_cc_package_offer = '1'
Can someone confirm this or does one know where the $A2B->id_card var is normaly populated in the class.rateEngine.php?