@if(!isset($print) || $print == 1)
@endif
{{----}} @php $pendingcollection = $pendingupdates = $pendingreviews = 0; @endphp @if(isset($sale_invoice_status) && count($sale_invoice_status) > 0) @foreach($sale_invoice_status as $key => $list) {{----}} @php if ($list->sample_collection_status == 0 || $list->all_tests_updated == 0 || $list->all_tests_reviewed == 0) { $pendingPackages = 1; } @endphp @php if ($list->sample_collection_status == 0) { $pendingcollection += 1; } if ($list->all_tests_updated == 0) { $pendingupdates += 1; } if ($list->all_tests_reviewed == 0) { $pendingreviews += 1; } @endphp @endforeach @else @endif
Invoice No DateTest Package Department Sample Result Review
{{$list->main_invoice_no}} {{ formatedDate($list->invoice_date) }}{{$list->test_package_name}} {{$list->department_name}}
No Data Found
@if(!isset($print) || $print == 1)
@endif
@if(!isset($print) || $print == 1) @if($pendingcollection > 0 || $pendingupdates > 0 || $pendingreviews > 0) @else @endif @endif