Changeset 978

Show
Ignore:
Timestamp:
08/26/08 09:36:38 (3 months ago)
Author:
rach
Message:

don't considere the connect charge et disconnect charge when you cheat on the time annoucement

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/common/lib/Class.RateEngine.php

    r962 r978  
    354354                $id_cc_package_group                    = $this -> ratecard_obj[$K][45]; 
    355355                $id_rate                                                = $this -> ratecard_obj[$K][6]; 
    356                  
     356                $initial_credit                                        = $credit; 
    357357                // CHANGE THIS - ONLY ALLOW FREE TIME FOR CUSTOMER THAT HAVE MINIMUM CREDIT TO CALL A DESTINATION 
    358358 
     
    686686                } 
    687687                //Call time to speak without rate rules... idiot rules 
    688                 $num_min_WR = $credit/$rateinitial; 
     688                $num_min_WR = $initial_credit/$rateinitial; 
    689689                $num_sec_WR = intval($num_min_WR * 60); 
    690690                $this -> ratecard_obj[$K]['timeout_without_rules'] = $num_sec_WR+$this -> freetimetocall_left[$K]; 


Google