Changeset 507

Show
Ignore:
Timestamp:
01/14/08 01:00:52 (10 months ago)
Author:
stavros
Message:

UPDATE: asiby suggested rate_engine_calculcost could also benefit from 'global $agi'

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.3/A2BCustomer_UI/lib/Class.RateEngine.php

    r503 r507  
    639639        function rate_engine_calculcost (&$A2B, $callduration, $K=0) 
    640640        { 
     641                global $agi; 
    641642                $K = $this->usedratecard; 
    642643                $buyrate = round(abs($this -> ratecard_obj[$K][9]),4); 
  • branches/1.3/A2Billing_AGI/libs_a2billing/Class.RateEngine.php

    r503 r507  
    639639        function rate_engine_calculcost (&$A2B, $callduration, $K=0) 
    640640        { 
     641                global $agi; 
    641642                $K = $this->usedratecard; 
    642643                $buyrate = round(abs($this -> ratecard_obj[$K][9]),4); 
  • branches/1.3/A2Billing_UI/lib/Class.RateEngine.php

    r503 r507  
    639639        function rate_engine_calculcost (&$A2B, $callduration, $K=0) 
    640640        { 
     641                global $agi; 
    641642                $K = $this->usedratecard; 
    642643                $buyrate = round(abs($this -> ratecard_obj[$K][9]),4); 
  • trunk/A2BCustomer_UI/lib/Class.RateEngine.php

    r503 r507  
    872872        function rate_engine_updatesystem (&$A2B, &$agi, $calledstation, $doibill = 1, $didcall=0, $callback=0) 
    873873        { 
     874                global $agi; 
    874875                $K = $this->usedratecard; 
    875876                // ****************  PACKAGE PARAMETERS ****************   
  • trunk/A2Billing_AGI/libs_a2billing/Class.RateEngine.php

    r503 r507  
    872872        function rate_engine_updatesystem (&$A2B, &$agi, $calledstation, $doibill = 1, $didcall=0, $callback=0) 
    873873        { 
     874                global $agi; 
    874875                $K = $this->usedratecard; 
    875876                // ****************  PACKAGE PARAMETERS ****************   
  • trunk/A2Billing_UI/lib/Class.RateEngine.php

    r503 r507  
    872872        function rate_engine_updatesystem (&$A2B, &$agi, $calledstation, $doibill = 1, $didcall=0, $callback=0) 
    873873        { 
     874                global $agi; 
    874875                $K = $this->usedratecard; 
    875876                // ****************  PACKAGE PARAMETERS ****************   


Google