Peter Muturi 7 сар өмнө
parent
commit
a6bbac9492

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

@@ -55,7 +55,7 @@
                     <td style="width:1px">{{ displayAmount('$', $order->total()) }}</td>
                     <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
+                       <small>{{ config('constants.tests.'.$test) }}</small>@if(count($order->associatedOrders($order->id)) || count($order->testsRequested()) -1 !== $tkey),@endif
                        @endforeach
                        {{-- Associated Orders --}}
                        @foreach($order->associatedOrders($order->id) as $tOrder => $assocOrder)