Completed Tests
You have not completed any tests yet.
getInvoiceAddress()) {
?>
You have multiple addresses.
Click here to manage your addresses and set one as the invoice address to enable the invoice link.
hasValidPaymentMethod()) {
?>
You have no valid payment method.
Click here and verify your payment method settings are correct to enable the invoice link.
getLocation();
$project = $test->getProject();
$attire = $date_start = $time_start = $duration = "N/A";
$attire_class = $date_start_class = $time_start_class = $duration_class = $fee_class = "text-muted";
date_default_timezone_set("UTC");
if($test->dts_start) {
$start_dt = new DateTime($test->dts_start);
$date_start = $start_dt->format("jS M Y");
$time_start = $start_dt->format("H:i:s");
$attire = $test->attire;
$attire_class = $date_start_class = $time_start_class = "";
}
if($test->dts_start && $test->dts_end) {
$end_dt = new DateTime($test->dts_end);
$diff = $start_dt->diff($end_dt, true);
$duration = $diff->format("%i min. %S sec.");
$duration_class = "";
}
date_default_timezone_set($original_timezone);
$status_class = $test->getStatusClass();
$status_text = $test->getStatusText();
$status_class = "secondary";
$status_text = "Pending";
if($test->status == Test::STATUS_CANCELLED) {
$status_class = "danger";
$status_text = "Rejected";
$fee = "N/A";
}
if($test->status == Test::STATUS_COMPLETED) {
$status_class = "success";
$status_text = "Accepted";
$fee = $test->fee ? $test->fee : $project->default_tester_fee;
$fee = "£" . $fee;
$fee_class = "";
}
?>
ID: =$test->id?>
status == Test::STATUS_COMPLETED && $can_invoice) {
?>
Invoice
=htmlspecialchars($location->name)?>
=htmlspecialchars($location->getDisplayAddress(["city", "postal_code"]))?>
=htmlspecialchars($status_text)?>
=htmlspecialchars($date_start)?>
=htmlspecialchars($time_start)?> / =htmlspecialchars($duration)?>
Fee: =$fee?>