|
|
@@ -93,7 +93,7 @@ foreach($projects as $project) {
|
|
|
<a class="btn btn-block btn-warning" href="/account/tests?status=<?=Test::STATUS_CONFIRMED?>">Confirmed</a>
|
|
|
</div>
|
|
|
<div class="col mb-1">
|
|
|
- <a class="btn btn-block btn-success" href="/account/tests?status=<?=Test::STATUS_PENDING_VERIFICATION?>">Pending Verification</a>
|
|
|
+ <a class="btn btn-block btn-success" href="/account/tests?status=<?=Test::STATUS_PENDING_VERIFICATION?>&sort=end">Pending Verification</a>
|
|
|
</div>
|
|
|
<div class="col mb-1">
|
|
|
<a class="btn btn-block btn-danger" href="/account/tests?pass=0">Fails</a>
|
|
|
@@ -282,6 +282,7 @@ foreach($projects as $project) {
|
|
|
<th>Project</th>
|
|
|
<th>Tester</th>
|
|
|
<th>Due Date</th>
|
|
|
+ <th>Test Date</th>
|
|
|
<th>Status</th>
|
|
|
<th>Result</th>
|
|
|
<th></th>
|
|
|
@@ -295,12 +296,11 @@ foreach($projects as $project) {
|
|
|
$project = $test->getProject();
|
|
|
$tester = $test->getTester();
|
|
|
|
|
|
- $unix_start = strtotime($test->dts_start . " UTC");
|
|
|
- $unix_end = strtotime($test->dts_end . " UTC");
|
|
|
-
|
|
|
$dt_due = $test->getDateTimeDue();
|
|
|
$is_overdue = $test->isOverdue();
|
|
|
$due_class = $is_overdue ? "text-danger" : "";
|
|
|
+
|
|
|
+ $dt_end = $test->getDateTimeEnd();
|
|
|
?>
|
|
|
|
|
|
<tr>
|
|
|
@@ -357,7 +357,7 @@ foreach($projects as $project) {
|
|
|
if($dt_due) {
|
|
|
$days_overdue = $dt_due->diffInDays();
|
|
|
?>
|
|
|
- <strong><?=$dt_due->format("Y-m-d")?></strong>
|
|
|
+ <strong><?=$dt_due->format("d/m/Y")?></strong>
|
|
|
<?php
|
|
|
if($is_overdue) {
|
|
|
?><br />
|
|
|
@@ -374,6 +374,18 @@ foreach($projects as $project) {
|
|
|
}
|
|
|
?>
|
|
|
</td>
|
|
|
+ <td>
|
|
|
+ <?php
|
|
|
+ if($dt_end) {
|
|
|
+ $dt_end = $dt_end->setTimezone(TIMEZONE);
|
|
|
+ ?>
|
|
|
+ <strong>
|
|
|
+ <?=$dt_end->format("d/m/Y")?>
|
|
|
+ </strong>
|
|
|
+ <?php
|
|
|
+ }
|
|
|
+ ?>
|
|
|
+ </td>
|
|
|
<td class="text-center align-middle">
|
|
|
<span class="badge badge-<?=$test->getStatusClass()?>"><?=$test->getStatusText()?></span>
|
|
|
</td>
|