test-results.blade.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. @extends('app.my-account.admin.orders.single')
  2. @section('details')
  3. <div class="my-4">
  4. <div class="d-flex align-items-center">
  5. <h4 class="mb-0"><b>Test Results</b></h4>
  6. <div>
  7. @include('app.my-account.admin.orders.forms.create-test-result')
  8. </div>
  9. </div>
  10. <div class="table-responsive">
  11. <table class="table table-sm table-hover table-striped table-bordered mb-0">
  12. <thead>
  13. <tr>
  14. <th>Date</th>
  15. <th>Test Name</th>
  16. <th>Result Category</th>
  17. <th>Result Color</th>
  18. <th>Numeric Value And Units</th>
  19. <th>Numeric Value Label</th>
  20. <th>Numeric Value Memo</th>
  21. <th>commentary</th>
  22. <th>Actions</th>
  23. </tr>
  24. </thead>
  25. <tbody>
  26. @foreach($testResults as $tr)
  27. <tr>
  28. <td>{{friendly_date($tr->created_at)}}</td>
  29. <td>{{ $tr->test_name }}</td>
  30. <td>{{ $tr->result_category }}</td>
  31. <td>{{ $tr->result_color }}</td>
  32. <td>{{ $tr->numeric_value_and_units }}</td>
  33. <td>{{ $tr->numeric_value_label }}</td>
  34. <td>{{ $tr->numeric_value_memo }}</td>
  35. <td>{{ $tr->commentary }}</td>
  36. <td>
  37. @include('app.my-account.admin.orders.forms.delete-test-result')
  38. @include('app.my-account.admin.orders.forms.update-test-result')
  39. </td>
  40. </tr>
  41. @endforeach
  42. </tbody>
  43. </table>
  44. </div>
  45. </div>
  46. @endsection