1
0
Эх сурвалжийг харах

Hide stage on location tests table on void tests

Alan Lam 1 жил өмнө
parent
commit
91bf43c8a8

+ 6 - 1
views/location_tests_tab.php

@@ -95,7 +95,12 @@ $tests = $location->getCompletedTests();
                     <td>
                     <?php
                     if($has_pass_fail) {
-                        if($test->isPending()) {
+						if($test->isVoid()) {
+							?>
+							<strong><?=htmlspecialchars(__("Void"))?></strong>
+							<?php
+						}
+                        elseif($test->isPending()) {
                             ?>
                             <?=htmlspecialchars(__("Pending"))?>
                             <?php