@if (isset($checking_details))
@foreach ($checking_details as $key => $data)
{{ $loop->iteration }}
@endforeach
@endif
Rejection
Time:
Rejection Type
Comments
Summary
Reject Type
Remarks
@if (isset($checking_details_summary))
@foreach ($checking_details_summary as $key => $data)
@php
if ($data->rejection_type == 'qc') {
$reject_type = 'QC';
} else {
$reject = \App\Models\TypeOfRejection::find($data->rejection_type);
$reject_type = $reject ? $reject->type : ''; // Handle case where the rejection type is not found
}
@endphp