mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 10:56:31 +00:00
CDR: Add permission for Account Code inclusion.
This commit is contained in:
@@ -211,6 +211,10 @@
|
||||
$data_head .= '<td width="9%"><b>'.$text['label-destination'].'</b></td>';
|
||||
$columns++;
|
||||
}
|
||||
if (permission_exists('xml_cdr_account_code')) {
|
||||
$data_head .= '<td width="12%" nowrap="nowrap"><b>'.$text['label-accountcode'].'</b></td>';
|
||||
$columns++;
|
||||
}
|
||||
if (permission_exists('xml_cdr_start')) {
|
||||
$data_head .= '<td width="12%" nowrap="nowrap"><b>'.$text['label-start'].'</b></td>';
|
||||
$columns++;
|
||||
@@ -286,6 +290,9 @@
|
||||
if (permission_exists('xml_cdr_destination')) {
|
||||
$data_body[$p] .= '<td>'.format_phone($fields['destination_number']).'</td>';
|
||||
}
|
||||
if (permission_exists('xml_cdr_account_code')) {
|
||||
$data_body[$p] .= '<td>'.$fields['accountcode'].'</td>';
|
||||
}
|
||||
if (permission_exists('xml_cdr_start')) {
|
||||
$data_body[$p] .= '<td>'.$fields['start_stamp'].'</td>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user