|
|
@@ -17,6 +17,7 @@ if(!is_null($test->dts_end)) {
|
|
|
|
|
|
if(in_array($test->status, [Test::STATUS_CANCELLED, Test::STATUS_COMPLETED])) {
|
|
|
$test_details["Verified"] = Util::getDisplayDateTime(strtotime($test->dts_verified . " UTC"));
|
|
|
+ $test_details["Retest"] = $test->retest ? "Yes" : "No";
|
|
|
}
|
|
|
|
|
|
$tester_details = [
|
|
|
@@ -290,6 +291,16 @@ function render_card_list_group($details) {
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <div class="row mb-1">
|
|
|
+ <div class="col-sm-4">Retest</div>
|
|
|
+ <div class="col-sm">
|
|
|
+ <div class="form-check">
|
|
|
+ <input class="form-check-input" type="checkbox" name="retest" id="retest" value="1" <?=Form::checked($test->retest)?> />
|
|
|
+ <label class="form-check-label" for="retest">Retest</label>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<?php
|
|
|
if($test->status == Test::STATUS_PENDING_VERIFICATION) {
|
|
|
?>
|
|
|
@@ -341,19 +352,6 @@ function render_card_list_group($details) {
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
- <div class="row mb-1">
|
|
|
- <div class="col-sm-4">Retest</div>
|
|
|
- <div class="col-sm">
|
|
|
- <div class="form-check">
|
|
|
- <input class="form-check-input" type="checkbox" name="retest" id="retest" value="1" <?=Form::checked($test->retest)?> />
|
|
|
- <label class="form-check-label" for="retest">Retest</label>
|
|
|
- </div>
|
|
|
- <small class="form-text text-muted">
|
|
|
- If this test was a retest, please check the box above. Once the test is accepted or rejected, this flag cannot be changed.
|
|
|
- </small>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
<div class="row mb-1">
|
|
|
<label class="col-sm-4 col-form-label" for="tester-message">Message to Tester (if rejecting)</label>
|
|
|
<div class="col-sm">
|