@if(isset($data->bannerUrl) && $data->bannerUrl != "") @endif
GOODS RECEIVE NOTE
Branch Name: {{$data->branchName}}
@foreach($data->reportData as $index => $dat)
{{$dat->grnNo}},  @if(isset($dat->isReceived)) @if($dat->isReceived == true) Received @else Pending @endif @endif @if($dat->invoiceNo), Invoice No: {{$dat->invoiceNo}}@endif @if($dat->paymentDate), Payment Date: {{$Controller::dateFormatter(optional($dat)->paymentDate)}}@endif
@foreach($dat->details as $index => $req) @php $batchListLength = isset($req->batchDetails) ? count($req->batchDetails) : 1; @endphp @foreach($req->batchDetails as $batch) @if($loop->first) @endif @endforeach @endforeach
SL Name Requisition Qty GRN Qty Received Qty Batch No Invoice price Gift Qty Expiry Date
{{$index + 1}} {{$req->item->name}} @if($req->requisitionApprovedQty != null) {{$req->requisitionApprovedQty}} @else N/A @endif {{$req->grnQty}}{{$batch->receiveQty}} {{$batch->batchNumber}} {{number_format(optional($batch)->invoicePrice,2,'.','')}} {{$req->giftQty}} {{$Controller::dateFormatter(optional($batch)->expiryDate)}}
@endforeach