Fixed issue with Extended and Alt formats for call export reports
git-svn-id: svn://192.168.202.10@2264 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
# 141001-2200 - Finalized adding QXZ translation to all admin files
|
||||
# 141230-1349 - Added code for on-the-fly language translations display
|
||||
# 150108-1110 - Fixed issue with inbound and no outbound calls export
|
||||
# 150126-1205 - Fixed issue with Extended and Alt formats
|
||||
#
|
||||
|
||||
$startMS = microtime();
|
||||
@@ -417,12 +418,12 @@ if ($run_export > 0)
|
||||
$EFheader='';
|
||||
if ($export_fields == 'EXTENDED')
|
||||
{
|
||||
$export_fields_SQL = ",entry_date,called_count,last_local_call_time,modify_date,called_since_last_reset";
|
||||
$export_fields_SQL = ",entry_date,vl.called_count,last_local_call_time,modify_date,called_since_last_reset";
|
||||
$EFheader = "\tentry_date\tcalled_count\tlast_local_call_time\tmodify_date\tcalled_since_last_reset";
|
||||
}
|
||||
if ($export_fields == 'ALTERNATE_1')
|
||||
{
|
||||
$export_fields_SQL = ",called_count,last_local_call_time";
|
||||
$export_fields_SQL = ",vl.called_count,last_local_call_time";
|
||||
$EFheader = "|called_count|last_local_call_time";
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
# CHANGES
|
||||
#
|
||||
# 150120-0639 - First build based upon call_report_export.php
|
||||
# 150126-1208 - Fixed issue with Extended and Alt formats
|
||||
#
|
||||
|
||||
$startMS = microtime();
|
||||
@@ -401,13 +402,13 @@ if ($run_export > 0)
|
||||
$carrier_log_offset=37; $delim="\t";
|
||||
if ($export_fields == 'EXTENDED')
|
||||
{
|
||||
$export_fields_SQL = ",entry_date,vi.called_count,last_local_call_time,modify_date,called_since_last_reset";
|
||||
$export_fields_SQL = ",entry_date,vl.called_count,last_local_call_time,modify_date,called_since_last_reset";
|
||||
$EFheader = "\tentry_date\tcalled_count\tlast_local_call_time\tmodify_date\tcalled_since_last_reset";
|
||||
$carrier_log_offset=43;
|
||||
}
|
||||
if ($export_fields == 'ALTERNATE_1')
|
||||
{
|
||||
$export_fields_SQL = ",vi.called_count,last_local_call_time";
|
||||
$export_fields_SQL = ",vl.called_count,last_local_call_time";
|
||||
$EFheader = "|called_count|last_local_call_time";
|
||||
$carrier_log_offset=39;
|
||||
$delim="|";
|
||||
|
||||
Reference in New Issue
Block a user