diff --git a/app/xml_cdr/xml_cdr_export.php b/app/xml_cdr/xml_cdr_export.php index 2f35d52808..2cc04372ae 100644 --- a/app/xml_cdr/xml_cdr_export.php +++ b/app/xml_cdr/xml_cdr_export.php @@ -138,7 +138,7 @@ $pdf->AddPage('L', array($page_width, $page_height)); //set the number of columns - $columns = 12; + $columns = 13; //write the table column headers $data_start = '
| '.$text['label-direction'].' | '; $data_head .= ''.$text['label-caller_id_name'].' | '; $data_head .= ''.$text['label-caller_id_number'].' | '; + $data_head .= ''.$text['label-caller_destination'].' | '; $data_head .= ''.$text['label-destination'].' | '; $data_head .= ''.$text['label-start'].' | '; $data_head .= ''.$text['label-tta'].' | '; @@ -188,6 +189,7 @@ $data_body[$p] .= ''.$text['label-'.$fields['direction']].' | '; $data_body[$p] .= ''.$fields['caller_id_name'].' | '; $data_body[$p] .= ''.$fields['caller_id_number'].' | '; + $data_body[$p] .= ''.format_phone($fields['caller_destination']).' | '; $data_body[$p] .= ''.format_phone($fields['destination_number']).' | '; $data_body[$p] .= ''.$fields['start_stamp'].' | '; $total['tta'] += ($fields['tta'] > 0) ? $fields['tta'] : 0;