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