Peter Muturi 7 months ago
parent
commit
e77c5cea4c

+ 1 - 14
resources/views/app/my-account/admin/orders/partials/table.blade.php

@@ -54,20 +54,7 @@
                     <td class="text-nowrap" style="width:1px">{{ friendly_date_time($order->created_at) }}</td>
                     <td class="text-nowrap" style="width:1px">{{ friendly_date_time($order->created_at) }}</td>
                     <td style="width:1px">{{ displayAmount('$', $order->total()) }}</td>
                     <td style="width:1px">{{ displayAmount('$', $order->total()) }}</td>
                     <td style="width:550px">
                     <td style="width:550px">
-                      @foreach($order->testsRequested() as  $tkey => $test)
-                       <small>{{ config('constants.tests.'.$test) }}</small>@if($order->associatedOrders($order->id) && count($order->testsRequested()) -1 !== $tkey),@endif
-                       @endforeach
-                       {{-- Associated Orders --}}
-                       @foreach($order->associatedOrders($order->id) as $tOrder => $assocOrder)
-                         <?php $testsCounter++; ?>
-                         <?php $orderTotal = $orderTotal + $assocOrder->order_total; ?>
-                         @foreach($assocOrder->testsRequested() as  $tkey => $test)
-                         <small>{{ $testsCounter }}. {{ config('constants.tests.'.$test) }}<small>>@if(count($order->associatedOrders($order->id)) -1 !== $tOrder),@endif
-                         @endforeach
-                       @endforeach
-                        @if(@$results_attachment)
-                        <p class="mt-2 p-1 bg-light border"><b>Lab Report: <a class="ms-2 text-sm text-success" href="{{ $results_attachment['attachmentAccessTokenUrl'] }}" target="_blank"><i class="fal fa-file-pdf"></i> Download PDF</a></b></p>
-                        @endif
+                      
                     </td>
                     </td>
                     <td>
                     <td>
                         @if($selectedLab)
                         @if($selectedLab)