Explorar o código

Add totals column for slide 3 of reports

Alan Lam %!s(int64=7) %!d(string=hai) anos
pai
achega
ac31fbd61d

+ 1 - 0
template_processing/age_verification/reports_build_charts.php

@@ -25,6 +25,7 @@ $chart->addDataset("Tests", [
 $chart->setPrintSuffixes("");
 $chart->print = true;
 $chart->printPercentages = true;
+$chart->printTotalColumn = true;
 $chart->setPrintLabels(["Stage 1", "Stage 2", "Stage 3", "Stage 4", "Stage 5"]);
 
 $charts[] = $chart;

+ 1 - 0
template_processing/age_verification_mitchells_butlers/reports_build_charts.php

@@ -25,6 +25,7 @@ $chart->addDataset("Tests", [
 $chart->setPrintSuffixes("");
 $chart->print = true;
 $chart->printPercentages = true;
+$chart->printTotalColumn = true;
 $chart->setPrintLabels(["Stage 1", "Stage 2", "Stage 3", "Stage 4", "Stage 5"]);
 
 $charts[] = $chart;

+ 1 - 0
template_processing/mystery_shop/reports_build_charts.php

@@ -24,6 +24,7 @@ $chart->addDataset("Tests", [
 ]);
 $chart->setPrintSuffixes("");
 $chart->print = true;
+$chart->printTotalColumn = true;
 $chart->printPercentages = true;
 
 $charts[] = $chart;