|
@@ -81,9 +81,15 @@
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
<div class="col order-1 order-sm-1">
|
|
<div class="col order-1 order-sm-1">
|
|
|
<strong>ID: <?=$test->id?></strong><br />
|
|
<strong>ID: <?=$test->id?></strong><br />
|
|
|
- <a href="/account/tests/<?=$test->id?>/invoice" target="_blank">
|
|
|
|
|
- <i class="fal fa-fw fa-external-link"></i> Invoice
|
|
|
|
|
- </a>
|
|
|
|
|
|
|
+ <?php
|
|
|
|
|
+ if($test->status == Test::STATUS_COMPLETED) {
|
|
|
|
|
+ ?>
|
|
|
|
|
+ <a href="/account/tests/<?=$test->id?>/invoice" target="_blank">
|
|
|
|
|
+ <i class="fal fa-fw fa-external-link"></i> Invoice
|
|
|
|
|
+ </a>
|
|
|
|
|
+ <?php
|
|
|
|
|
+ }
|
|
|
|
|
+ ?>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-sm order-3 order-sm-2">
|
|
<div class="col-sm order-3 order-sm-2">
|
|
|
<hr class="d-block d-sm-none" />
|
|
<hr class="d-block d-sm-none" />
|