Operator Assessment Sheet-4 Operator Assessment Sheet-Operation Entry
@csrf @php $i = 1; @endphp @foreach ($operationEntry as $oe) {{-- @dd($operationEntry ) --}} {{-- --}} @endforeach
SL Operation Type Machine Type Operation Name SMV Target Avg Cycles Capacity Efficiency
{{ $i++ }} {{ strtoupper($oe->sewing_process_type) }} @php $machineType = App\Models\SewingProcessList::where( 'id', $oe->sewing_process_list_id, )->first(); // dd($machineType); @endphp {{ $machineType->machine_type }} {{ ucwords($oe->sewing_process_name) }} @php $smv = App\Models\SewingProcessList::where('id', $oe->sewing_process_list_id) ->pluck('smv') ->first(); if ($oe->smv == null) { $smv = number_format($smv, 2); } else { $smv = number_format($oe->smv, 2); } @endphp @php $standard_capacity = App\Models\SewingProcessList::where( 'id', $oe->sewing_process_list_id, ) ->pluck('standard_capacity') ->first(); if ($oe->target == null) { $target = number_format($standard_capacity, 0); } else { $target = number_format($oe->target, 0); } @endphp @php if ($oe->sewing_process_avg_cycles !== null) { $capacity = 60 / $oe->sewing_process_avg_cycles; $fractionalPart = $capacity - floor($capacity); if ($fractionalPart >= 0.5) { $roundedCapacity = ceil($capacity); // Round up if fractional part is >= 0.5 } else { $roundedCapacity = floor($capacity); // Round down otherwise } } else { $roundedCapacity = ''; // Provide a default value when sewing_process_avg_cycles is null } @endphp --}} @php if ($oe->self_production == null) { $self_production = ''; } else { $self_production = number_format($oe->self_production, 0); } @endphp {{-- --}} @php if ($oe->achive_production == null) { $achive_production = ''; } else { $achive_production = number_format($oe->achive_production, 0); } @endphp {{--
{{-- --}} {{-- --}}
Team Work
rating == 5 ? 'checked' : '' }}> rating == 4 ? 'checked' : '' }}> rating == 3 ? 'checked' : '' }}> rating == 2 ? 'checked' : '' }}> rating == 1 ? 'checked' : '' }}>
Team Work
team_rating == 5 ? 'checked' : '' }}> team_rating == 4 ? 'checked' : '' }}> team_rating == 3 ? 'checked' : '' }}> team_rating == 2 ? 'checked' : '' }}> team_rating == 1 ? 'checked' : '' }}>
Disciplinary Approach/Behavior
perception_about_size == 5 ? 'checked' : '' }}> perception_about_size == 4 ? 'checked' : '' }}> perception_about_size == 3 ? 'checked' : '' }}> perception_about_size == 2 ? 'checked' : '' }}> perception_about_size == 1 ? 'checked' : '' }}>
Necessity of Helper
necessity_of_helper == 'Yes') checked @endif>
necessity_of_helper == 'No') checked @endif>
Perception About Size
perception_about_size == 'Good') checked @endif>
perception_about_size == 'Average') checked @endif>
perception_about_size == 'Not Satisfactory') checked @endif>
Cancel Save