order-tests-summary.blade.php 663 B

12345678910111213141516171819202122
  1. <?php
  2. $tests = (object) $order->testsRequestedInHumanReadable();
  3. ?>
  4. <table class="table table-sm table-bordered border w-100 mb-0">
  5. <tbody>
  6. @foreach ($tests as $test)
  7. <tr>
  8. <td class="w-50 w-lg-75 px-2">{{ $test }}</td>
  9. </tr>
  10. @endforeach
  11. @foreach($order->associatedOrders($order->id) as $assocOrder)
  12. <?php
  13. $tests = (object) $assocOrder->testsRequestedInHumanReadable();
  14. ?>
  15. @foreach ($tests as $test)
  16. <tr>
  17. <td class="w-50 w-lg-75 px-2">{{ $test }}</td>
  18. </tr>
  19. @endforeach
  20. @endforeach
  21. </tbody>
  22. </table>