Update destinations.php

This commit is contained in:
FusionPBX 2019-08-16 11:35:10 -06:00 committed by GitHub
parent 3815ce0ef1
commit 384504e240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -233,7 +233,9 @@
echo th_order_by('destination_type', $text['label-destination_type'], $order_by, $order, $param);
echo th_order_by('destination_number', $text['label-destination_number'], $order_by, $order, $param);
echo "<th>". $text['label-detail_action']."</th>";
echo th_order_by('destination_context', $text['label-destination_context'], $order_by, $order, $param);
if (permission_exists("destination_context")) {
echo th_order_by('destination_context', $text['label-destination_context'], $order_by, $order, $param);
}
if (permission_exists('outbound_caller_id_select')) {
echo th_order_by('destination_caller_id_name', $text['label-destination_caller_id_name'], $order_by, $order, $param);
echo th_order_by('destination_caller_id_number', $text['label-destination_caller_id_number'], $order_by, $order, $param);
@ -276,7 +278,9 @@
echo " <td valign='top' class='".$row_style[$c]."'>".escape(format_phone($row['destination_number']))."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$action_name."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_number_regex']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['destination_context'])."&nbsp;</td>\n";
if (permission_exists("destination_context")) {
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['destination_context'])."&nbsp;</td>\n";
}
//echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['fax_uuid'])."&nbsp;</td>\n";
if (permission_exists('outbound_caller_id_select')) {
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['destination_caller_id_name'])."&nbsp;</td>\n";