diff --git a/app/Jobs/ExportReportResults.php b/app/Jobs/ExportReportResults.php index aed6a34e4a21..1608c1094c5b 100644 --- a/app/Jobs/ExportReportResults.php +++ b/app/Jobs/ExportReportResults.php @@ -66,8 +66,12 @@ class ExportReportResults extends Job foreach ($each as $dimension => $val) { $tmp = []; $tmp[] = Utils::getFromCache($currencyId, 'currencies')->name . (($dimension) ? ' - ' . $dimension : ''); - foreach ($val as $id => $field) { - $tmp[] = Utils::formatMoney($field, $currencyId); + foreach ($val as $field => $value) { + if ($field == 'duration') { + $tmp[] = Utils::formatTime($value); + } else { + $tmp[] = Utils::formatMoney($value, $currencyId); + } } $summary[] = $tmp; }