@if(isset($isBackend) && $isBackend)
|
{!! $order->getMethodIcon() !!} {{ $order->getOrderNumber() }}
{{ $order->invoice_no }}
|
{{ $order->getPatient() }}
{{ $order->getOrderDate() }}
|
{{ optional($order->user)->ac_code ? optional($order->user)->ac_code . ' - ' . optional($order->user)->getBusinessName() : '' }}
|
{!! $order->getStatusLabelAttribute(true) !!}
@php
$count = $order->unread_notifications_count ?? 0;
@endphp
@if($count > 0)
{{$count}}
@else
0
@endif
|
@else
{!! $order->getMethodIcon() !!} {{ $order->getOrderNumber() }}
|
{{ $order->getPatient() }}
|
{{ $order->getOrderDate('d-M-Y') }}
|
{!! $order->getStatusLabelAttribute(true) !!}
|
{{ !empty($order->eta) ? date('d-M-Y',strtotime($order->eta)) : '' }}
@php
$count = $order->unread_notifications_count ?? 0;
@endphp
@if($count > 0)
{{$count}}
@else
0
@endif
|
@endif
@endforeach