@if(count($control['violations']->where('solved',false)))
⚠️ {{__('QC Violation Alert')}} :
{{__('One or more quality control results have violated Westgard rules and require immediate attention. Please review and take corrective action (CAPA)')}}.
@endif
@if($control['type']==1) @if($control['levels_number']>=1)
Level 1
@endif @if($control['levels_number']>=2)
Level 2
@endif @if($control['levels_number']>=3)
Level 3
@endif @elseif($control['type']==2) @foreach($control['parameters'] as $parameter) @if($control['levels_number']>=1)
{{$parameter['name']}} - Level 1
@endif @if($control['levels_number']>=2)
{{$parameter['name']}} - Level 2
@endif @if($control['levels_number']>=3)
{{$parameter['name']}} - Level 3
@endif @endforeach @endif
@if($control['type']==2) @endif
{{__('Date')}} {{__('Entered by')}}{{__('Parameter')}}{{__('Level')}} {{__('Result')}} {{__('Status')}} {{__('CAPA comment')}} {{__('Action')}}
{{__('Date')}} {{__('Level')}} {{__('Rule violated')}} {{__('Failed results')}} {{__('Solve')}}
{{__('Date')}} {{__('Level')}} {{__('Rule violated')}} {{__('Failed results')}} {{__('Solved by')}} {{__('Solved at')}} {{__('CAPA comment')}}
@if($control['type']==1) @include('admin.qc.lj_chart.modals.result') @elseif($control['type']==2) @include('admin.qc.lj_chart.modals.cbc_result') @endif