@php $i=1;@endphp @if(count($BookRequest)>0) @foreach($BookRequest as $key=> $row) @php $detailsbooks=json_decode($row->bookcount) @endphp @php $i++; @endphp @endforeach @else @endif
Sl No Request No Member Name Quantity Request date Status View
{{$BookRequest->firstItem() + $key}} @if(isset($row->order_no)){{$row->order_no}}@endif @if(isset($row->getStudents->name)){{$row->getStudents->name}} @endif @if(isset($detailsbooks[0]->qnt)){{$detailsbooks[0]->qnt}}@endif @if(isset($row->order_date)){{date('d-m-Y',strtotime($row->order_date))}}@endif @if($row->status=='Pendding'){{'Pendding'}}@elseif($row->status=='Accept'){{'Accepted'}}@elseif($row->status=='Cancelled'){{'Cancelled'}}@endif
No Data Found