Skip to content

Commit

Permalink
wdyc stats summary per-month
Browse files Browse the repository at this point in the history
  • Loading branch information
nightflyza committed Jul 5, 2017
1 parent 7aba28c commit cedcba2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.3 rev 5566
0.8.3 rev 5567
3 changes: 2 additions & 1 deletion api/libs/api.wdyc.php
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,8 @@ public function renderStats() {
$result.= __('Missed calls') . ' - ' . $totalMissed . wf_tag('br');
$result.= __('Recalled calls') . ' - ' . $totalRecalls . wf_tag('br');
$result.= __('Unsuccessful recalls') . ' - ' . $totalUnsucc . wf_tag('br');
$result.= __('Percent') . ' ' . __('Missed calls') . ' - ' . zb_PercentValue($totalCalls, $totalMissed) . '%';
$result.= __('Percent') . ' ' . __('Missed calls') . ' - ' . zb_PercentValue($totalCalls, abs($totalMissed - $totalUnsucc)) . '%';
$result.= wf_tag('br');
$result.= wf_tag('br');
$result.= wf_JqDtLoader($columns, self::URL_ME . '&renderstats=true&ajaxlist=true&year=' . $year . '&month=' . $month, false, __('Calls'), 25, $jqDtOpts);
} else {
Expand Down

0 comments on commit cedcba2

Please sign in to comment.