diff --git a/resources/views/livewire/production-target-plan.blade.php b/resources/views/livewire/production-target-plan.blade.php index 586ecc79..d949ecf8 100644 --- a/resources/views/livewire/production-target-plan.blade.php +++ b/resources/views/livewire/production-target-plan.blade.php @@ -18,35 +18,37 @@ - - @forelse ($monthlyRecords as $index => $record) - + - - {{ $index + 1 }} - + @if (!empty($records)) + - - {{ $record['plant_name'] }} - + + 1 + - - {{ $record['line_name'] }} - + + {{ $records[0]['plant_name'] ?? '-' }} + - - {{ $monthlyRecords ?? 0 }} - + + {{ $records[0]['line_name'] ?? '-' }} + - - @empty - - - No monthly production plan data found. - - - @endforelse - + + {{ $monthlyRecords ?? 0 }} + + + + @else + + + No monthly production plan data found. + + + @endif + +