@if(isset($prescribe_product)) @foreach($prescribe_product as $p) {{ date('d/m/y',strtotime($p->created_at))}} {{$p->product_name ?? ""}}
{!! $p->sugest_less !!}
{!! $p->suggested_more ?? "" !!}
Repeats {{ucwords($p->repeats_allowed ?? "")}} {{--
Monica ordered

1 x 14/04/21

1 x 14/04/21

--}}
Fulfilled @if(isset($p->fulfilled) && count($p->fulfilled)!=0) {{ count($p->fulfilled) }} @else 0 @endif {{--
@if(isset($p->fulfilled) && count($p->fulfilled)!=0)
@foreach ($p->fulfilled as $pro)

{{ $pro['deduct_quantity'] ?? "" }} x {{ date('d/m/y',strtotime($pro['created_at']))}}

@endforeach
@else

unfulfilled

@endif
--}}
@endforeach @if(count($prescribe_product)==0) No results found @endif @endif