2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Added completions as well as completions per hour

This commit is contained in:
azammitdcarf
2009-07-21 05:58:22 +00:00
parent 597e00b0bd
commit ac8ba0c436

View File

@@ -72,20 +72,20 @@ if ($questionnaire_id)
*/ */
$rs = get_CPH_by_shift($questionnaire_id,$shift_id); $rs = get_CPH_by_shift($questionnaire_id,$shift_id);
print "<div>" . T_("This shift") . "</div>"; print "<div>" . T_("This shift") . "</div>";
xhtml_table($rs,array("firstName","CPH"),array(T_("Operator"),T_("Completions per hour")),"tclass",array("operator_id" => $operator_id)); xhtml_table($rs,array("firstName","completions","CPH"),array(T_("Operator"),T_("Completions"),T_("Completions per hour")),"tclass",array("operator_id" => $operator_id));
} }
$rs = get_CPH_by_questionnaire($questionnaire_id); $rs = get_CPH_by_questionnaire($questionnaire_id);
print "<div>" . T_("This project") . "</div>"; print "<div>" . T_("This project") . "</div>";
xhtml_table($rs,array("firstName","CPH"),array(T_("Operator"),T_("Completions per hour")),"tclass",array("operator_id" => $operator_id)); xhtml_table($rs,array("firstName","completions","CPH"),array(T_("Operator"),T_("Completions"),T_("Completions per hour")),"tclass",array("operator_id" => $operator_id));
} }
$rs = get_CPH(); $rs = get_CPH();
print "<div>" . T_("Overall") . "</div>"; print "<div>" . T_("Overall") . "</div>";
xhtml_table($rs,array("firstName","CPH"),array(T_("Operator"),T_("Completions per hour")),"tclass",array("operator_id" => $operator_id)); xhtml_table($rs,array("firstName","completions","CPH"),array(T_("Operator"),T_("Completions"),T_("Completions per hour")),"tclass",array("operator_id" => $operator_id));
xhtml_foot(); xhtml_foot();