diff --git a/app/fax/fax_files.php b/app/fax/fax_files.php index cdda50ad6c..ad246990ae 100644 --- a/app/fax/fax_files.php +++ b/app/fax/fax_files.php @@ -205,11 +205,11 @@ else { echo "
| ".$text['table-file']." | \n"; + echo "".$text['table-view']." | \n"; echo th_order_by('fax_number', $text['label-fax_number'], $order_by, $order); //echo th_order_by('fax_file_type', $text['label-fax_file_type'], $order_by, $order); - echo th_order_by('fax_file_path', $text['label-fax_file_path'], $order_by, $order); + //echo th_order_by('fax_file_path', $text['label-fax_file_path'], $order_by, $order); echo th_order_by('fax_caller_id_name', $text['label-fax_caller_id_name'], $order_by, $order); echo th_order_by('fax_caller_id_number', $text['label-fax_caller_id_number'], $order_by, $order); echo th_order_by('fax_date', $text['label-fax_date'], $order_by, $order); @@ -219,21 +219,90 @@ else { echo "||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ".$row['fax_uuid']." | \n"; - //echo "".$row['fax_mode']." | \n"; + echo "||||||||||||
| \n"; + if ($_REQUEST['box'] == 'inbox') { + echo " \n"; + } + if ($_REQUEST['box'] == 'sent') { + echo " \n"; + } + echo " $file_name"; + echo " "; + echo " | \n"; + echo "\n"; + if ($_REQUEST['box'] == 'inbox') { + $dir_fax = $dir_fax_inbox; + $type = "fax_inbox"; + } + if ($_REQUEST['box'] == 'sent') { + $dir_fax = $dir_fax_sent; + $type = "fax_sent"; + } + if (file_exists($dir_fax.'/'.$file_name.".pdf")) { + echo " \n"; + echo " PDF"; + echo " "; + } + else { + echo " \n"; + } + echo " | \n"; + //echo "".basename($row['fax_file_path'])." | \n"; + //echo "".$row['fax_number']." | \n"; //echo "".$row['fax_file_type']." | \n"; - echo "".basename($row['fax_file_path'])." | \n"; + echo "".$row['fax_caller_id_name']." | \n"; echo "".$row['fax_caller_id_number']." | \n"; echo "".date("F d Y H:i:s", strtotime($row['fax_date']))." | \n"; //echo "".$row['fax_epoch']." | \n"; //echo "".$row['fax_base64']." | \n"; - echo ""; + echo " | "; //if (permission_exists('fax_file_edit')) { // echo "$v_link_label_edit"; //} |