ticket integria: 3938 fixed error in report change max for min #20
(cherry picked from commit c58bc9e365
)
This commit is contained in:
parent
b49ccc5982
commit
787e44e7f9
|
@ -1773,10 +1773,10 @@ function reporting_html_availability(&$table, $item) {
|
|||
if (($same_agent_in_resume == "") && (strpos($item['resume']['min_text'], $same_agent_in_resume) === false)) {
|
||||
$table1->head = array ();
|
||||
$table1->head['min_text'] = __('Agent max');
|
||||
$table1->head['min'] = __('Min Value');
|
||||
$table1->head['max'] = __('Max Value');
|
||||
$table1->head['avg'] = __('Average Value');
|
||||
$table1->head['max_text'] = __('Agent min');
|
||||
$table1->head['max'] = __('Max Value');
|
||||
$table1->head['min'] = __('Min Value');
|
||||
|
||||
$table1->headstyle = array();
|
||||
$table1->headstyle['min_text'] = 'text-align: left';
|
||||
|
@ -1794,11 +1794,11 @@ function reporting_html_availability(&$table, $item) {
|
|||
$table1->style['max'] = 'text-align: right';
|
||||
|
||||
$table1->data[] = array(
|
||||
'min_text' => $item['resume']['min_text'],
|
||||
'min' => format_numeric($item['resume']['min'], 2) . "%",
|
||||
'max_text' => $item['resume']['min_text'],
|
||||
'max' => format_numeric($item['resume']['max'], 2) . "%",
|
||||
'avg' => format_numeric($item['resume']['avg'], 2) . "%",
|
||||
'max_text' => $item['resume']['max_text'],
|
||||
'max' => format_numeric($item['resume']['max'], 2) . "%"
|
||||
'min_text' => $item['resume']['max_text'],
|
||||
'min' => format_numeric($item['resume']['min'], 2) . "%"
|
||||
);
|
||||
|
||||
$table->colspan[2][0] = 3;
|
||||
|
|
Loading…
Reference in New Issue