Action Plan Report

{{-- Xuất Excel --}}
@if (session('success'))
{{ session('success') }}
@endif
@forelse ($reports as $report) @empty @endforelse
Factory Department Qc Line QC User ID Style PO Inspection Qty Failed Qty Defect Code DefectEN DefectVN Root Cause Solution Preventive Action Time
{{ $report->area_id }} {{ $report->dept }} {{ $report->qc }} {{ $report->line_id }} {{ $report->code_worker }} {{ $report->product_code }} {{ $report->po_number }} {{ $report->total_check }} {{ $report->error_number }} {{ $report->error_code_id }} {{ $report->errorCode->DefectEN }} {{ $report->errorCode->DefectVN }} {{ is_array(json_decode($report->cause, true)) ? implode(', ', json_decode($report->cause, true)) : $report->cause }} {{ is_array(json_decode($report->solution, true)) ? implode(', ', json_decode($report->solution, true)) : $report->solution }} {{ is_array(json_decode($report->PreventiveAction, true)) ? implode(', ', json_decode($report->PreventiveAction, true)) : $report->PreventiveAction }} {{ $report->created_at->format('d/m/Y H:i') }}
Không có dữ liệu báo cáo