{{ __('Production Data') }}

@if(auth()->user()->hasRole('sales')) @endif
@if(auth()->user()->hasRole('admin'))
@endif
@foreach([9, 10, 11, 12, 13, 14, 15, 16, 17, 18] as $hour) @if($hour == 12) @else @endif @endforeach @foreach([9, 10, 11, 12, 13, 14, 15, 16, 17, 18] as $hour) @endforeach @foreach($processedProductionData as $data) @foreach([9, 10, 11, 12, 13, 14, 15, 16, 17, 18] as $hour) @endforeach @endforeach
Line Customer Style Color Hour Productivity Total Output Line Target Hour Target Plan Percentage Plan Machines Date
12:30{{ $hour }}:00
Product Repairs
{{ $data['line_name'] }} {{ $data['customer'] }} {{ $data['style'] }} {{ $data['color'] }}{{ $data['hourly_data'][$hour]->product ?? 0 }} {{ $data['hourly_data'][$hour]->repairs ?? 0 }}{{ $data['total_output_line'] }} {{ $data['target_hour'] }} {{ $data['target_plan'] }} {{ number_format($data['percentage_plan'], 2) }}% {{ $data['machines'] }} {{ $data['date'] }}