Skip to content
This repository has been archived by the owner on Feb 26, 2025. It is now read-only.

Commit

Permalink
Merge pull request coral-erm#637 from biblibre/Issue_635
Browse files Browse the repository at this point in the history
Issue 636: Add missing "All detail costs" column in yearly costs dashboards exports
  • Loading branch information
veggiematts authored Feb 27, 2020
2 parents baab811 + df3a4e0 commit 485467c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/dashboard_yearly_costs_exports.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function array_to_csv_row($array) {
$columnHeaders[] = $costDetail['shortName'] . " / $i";
}
}
$columnHeaders[] = _("All cost details");
echo array_to_csv_row($columnHeaders);

$count = sizeof($results);
Expand All @@ -89,7 +90,7 @@ function array_to_csv_row($array) {
$dashboardValues[] = $result[$costDetail['shortName'] . " / $i"];
}
}

$dashboardValues[] = $result['costDetailsSum'];
echo array_to_csv_row($dashboardValues);
$currentCount++;
}
Expand Down

0 comments on commit 485467c

Please sign in to comment.