Changeset 892

Show
Ignore:
Timestamp:
07/24/08 06:35:33 (1 month ago)
Author:
rach
Message:

Filter for incompleted calls and congestionned calls

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/admin/Public/call-log-customers.php

    r777 r892  
    214214        if (strlen($FG_TABLE_CLAUSE)>0) $FG_TABLE_CLAUSE.=" AND "; 
    215215        $FG_TABLE_CLAUSE .= " (t1.terminatecause='ANSWER' OR t1.terminatecause='ANSWERED') "; 
     216} 
     217if ($terminatecause=="INCOMPLET") { 
     218        if (strlen($FG_TABLE_CLAUSE)>0) $FG_TABLE_CLAUSE.=" AND "; 
     219        $FG_TABLE_CLAUSE .= " (t1.terminatecause !='ANSWER' AND t1.terminatecause !='ANSWERED') "; 
     220} 
     221if ($terminatecause=="CONGESTION") { 
     222        if (strlen($FG_TABLE_CLAUSE)>0) $FG_TABLE_CLAUSE.=" AND "; 
     223        $FG_TABLE_CLAUSE .= " (t1.terminatecause='CONGESTION') "; 
    216224} 
    217225 
     
    510518                                        <?php echo gettext("All Calls");?>   
    511519                                        <input name="terminatecause" type="radio" value="ALL" <?php if($terminatecause=="ALL"){?>checked<?php }?>/> 
     520                                        <?php echo gettext("Not completed Calls");?>   
     521                                        <input name="terminatecause" type="radio" value="INCOMPLET" <?php if($terminatecause=="INCOMPLET"){?>checked<?php }?>/> 
     522                                        <?php echo gettext("Congestioned Calls");?>   
     523                                        <input name="terminatecause" type="radio" value="CONGESTION" <?php if($terminatecause=="CONGESTION"){?>checked<?php }?>/> 
    512524                                </td> 
    513525                        </tr> 


Google