@extends('layouts.app') @section('title') Visual Checking 1 Edit @endsection @section('button') Back @endsection @section('content')
@csrf
Production Detail


QC Output
@if (isset($checking_details)) @foreach ($checking_details as $key => $data) @endforeach @endif
No Time Serial No Status Reject Detail Interval (s) Action
{{ $loop->iteration }}

Summary

@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 @endforeach @endif
Reject Type Remarks
{{ $reject_type ?? '' }} {{ $data->comment }}
@endsection