Operator Assessment Sheet List Operator Assessment Sheet
@if (is_null($workerEntries) || empty($workerEntries))

Currently No Information Available!

@else @if (session('message'))
× {{ session('message') }}.
@endif
{{-- spl Table goes here --}} @php $sl=0 @endphp @foreach ($workerEntries as $spl) @php $data = DB::table('worker_sewing_process_entries') ->where('worker_entry_id', $spl->id) ->get(); $machine_type = DB::table('sewing_process_lists') ->whereIn('id', $data->pluck('sewing_process_list_id')) ->get('machine_type'); @endphp @endforeach
Sl# ID Card No Name Machine Type Process Type Process Name Pregent Grade Recomanded Grade Actions
{{ ++$sl }} {{ $spl->id_card_no }} {{ $spl->employee_name_english }} @foreach ($data as $item) @if ($item->sewing_process_type == 'normal') Normal Process @elseif ($item->sewing_process_type == 'critical') Critical Process @elseif ($item->sewing_process_type == 'both') Both Process @else No Process @endif @endforeach @foreach ($machine_type as $type) @if ($type->machine_type == 'LSM') LOCK STITCH MACHINE @elseif ($type->machine_type == 'FLM') FLAT LOCK MACHINE @elseif ($type->machine_type == 'OLM') OVER LOCK MACHINE @elseif ($type->machine_type == 'NM') NORMAL MACHINES @elseif ($type->machine_type == 'SM') SPECIAL MACHINES @else No Machine @endif @endforeach @foreach ($data as $item) {{ ucwords($item->sewing_process_name) }} @endforeach {{ $spl->present_grade }} {{ $spl->recomanded_grade }}
@csrf @method('delete')
@endif