{{ __('ePQR - PQR BI / DSS Dashboard') }}

Monitoring Kualitas Produk & Proses Produksi

{{-- Top Filter Form --}}
-
{{-- Summary Metric Cards Bar --}}

Total Record

{{ number_format($totalRecord) }}

OK

{{ number_format($okCount) }} {{ $okPercent }}%

Not OK

{{ number_format($notOkCount) }} {{ $notOkPercent }}%

Blank / NA

{{ number_format($blankCount) }} {{ $blankPercent }}%

Total Batch

{{ number_format($totalBatch) }}

Completeness

{{ $dataCompleteness }}%

{{-- Section 1: Charts & Quality Alerts --}}

Trend Results (OK vs NOT OK)

Per Batch / DocNum

Result Distribution

Top Quality Alert

@forelse($qualityAlerts as $alert)

{{ $alert['parameter'] }}

Proses: {{ $alert['proses'] }} | Cpk: {{ $alert['cpk'] }}

High
@empty

Tidak ada alert kualitas kritis.

@endforelse
{{-- Section 2: I-Chart (Control Chart) --}} {{-- Section 3: Process Performance Summary Table & Insights --}}

Process Performance Summary

Total Parameter: {{ $processPerformance->count() }}
@forelse($processPerformance as $index => $row) @empty @endforelse
No Proses Parameter n Mean USL LSL Cpk Status OOS
{{ $index + 1 }} {{ $row['proses'] }} {{ $row['parameter'] }} {{ $row['n'] }} {{ $row['mean'] }} {{ $row['usl'] }} {{ $row['lsl'] }} {{ $row['cpk'] }} {{ $row['oos'] }}
Tidak ada data performance proses.

Quality Insight & Recommendation

Insight Utama

Ditemukan {{ $notOkCount }} hasil NOT OK dari {{ $totalRecord }} record ({{ $notOkPercent }}%). Evaluasi parameter kritis yang memiliki nilai Cpk di bawah standar.

Rekomendasi

  • Review penyebab deviasi pada parameter kritis.
  • Pastikan kontrol lingkungan & kalibrasi alat sesuai SOP.
  • Lakukan tindakan korektif dan verifikasi efektivitas.

Kesimpulan

Secara umum proses cukup terkendali, namun terdapat beberapa parameter kritis yang perlu perhatian segera.

{{-- Section 4: Batch Performance Overview Matrix --}}

Batch Performance Overview

Status per Parameter vs Batch / Dokumen
@foreach($documentsList as $doc) @endforeach @forelse($batchMatrix as $item) @foreach($documentsList as $doc) @php $st = $item['batches'][$doc] ?? null; @endphp @endforeach @empty @endforelse
Parameter{{ $doc }}
{{ $item['parameter'] }} @if($st === 'MS' || $st === 'OK') @elseif($st === 'TMS' || $st === 'NOT OK') @else - @endif
Tidak ada matriks batch tersedia.
@push('scripts') @endpush