Changeset 4264


Ignore:
Timestamp:
05/06/11 17:30:28 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1726 - Telefones dos contatos não estão sendo exportados . r4227

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/contactcenter/inc/class.ui_data.inc.php

    r4262 r4264  
    38403840                                        "Office Location,Organizational ID Number,PO Box,Priority,Private,Profession,Referred By,Sensitivity,Spouse,User 1,User 2,User 3,User 4,Web Page\r\n"; 
    38413841 
    3842                                         foreach($contacts as $index => $object){ 
     3842                                foreach($contacts as $index => $object) 
     3843                                { 
     3844                                        if( array_key_exists("phone", $object) ) 
     3845                                           $phone = $object['phone']; 
     3846                                        else 
     3847                                           $phone = $object['business-phone']; 
     3848 
    38433849                                                $streamBuffer.= "\"".$object[ 'alias' ] . "\"," 
    38443850                                                        . "\"".$object[ 'names_ordered'] . "\"," 
     
    38633869                                                        .",,,,,,,," 
    38643870                                                        . "\"".$object[ 'business-fax' ] . "\"," 
    3865                                                         . "\"".$object[ 'business-phone' ] . "\"," 
     3871                                                        . "\"".$phone . "\"," 
    38663872                                                        . "\"".$object[ 'business-mobile' ] . "\"," 
    38673873                                                        .",,," 
     
    39023908                                                        . "\"".$object[ 'alternative-mail' ] . "\"," 
    39033909                                                        ."," 
    3904                                                         . "\"".$object[ 'business-phone' ] . "\"," 
     3910                                                        . "\"".$phone . "\"," 
    39053911                                                        . "\"".$object[ 'home-phone' ] . "\"," 
    39063912                                                        . "\"".$object[ 'business-fax' ] . "\"," 
     
    41864192                                                                case 'Telefone principal': 
    41874193                                                                case 'Telefone comercial': 
     4194                                                                case 'Telefone Comercial':                                                                     
    41884195                                                                        $phone_pos = $index; 
    41894196                                                                        break; 
Note: See TracChangeset for help on using the changeset viewer.