From 77df792dec808d65f26c60fb3016537fdc009819 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 30 Sep 2026 16:56:47 +0530 Subject: [PATCH] removed temporary table in target table --- .../livewire/production-target-plan.blade.php | 105 ++++-------------- 1 file changed, 21 insertions(+), 84 deletions(-) diff --git a/resources/views/livewire/production-target-plan.blade.php b/resources/views/livewire/production-target-plan.blade.php index d949ecf8..fe794927 100644 --- a/resources/views/livewire/production-target-plan.blade.php +++ b/resources/views/livewire/production-target-plan.blade.php @@ -15,6 +15,12 @@ Monthly Plan Quantity + + Monthly Actual Quantity + + + Monthly Efficiency(%) + @@ -38,6 +44,12 @@ {{ $monthlyRecords ?? 0 }} + + {{ $monthlyRecords ?? 0 }} + + + {{ $monthlyRecords ?? 0 }} + @else @@ -53,92 +65,17 @@ +
+

Test

- {{-- //.. --}} -

- PRODUCTION PLAN TABLE: -

-
- - - - - - - - +

Records: {{ count($records) }}

+ +

Dates: {{ count($dates) }}

+ + + + {{-- //.. --}} - - - - @foreach($dates as $date) - {{-- --}} - - @endforeach - - - @foreach($dates as $date) - {{-- --}} - - - - {{-- --}} - @endforeach - - - - - @forelse ($records as $index => $record) - - - - - - - - {{-- @foreach($dates as $date) - - - @endforeach --}} - - @foreach($dates as $date) - @if(in_array($date, $leaveDates)) - {{-- --}} - - - @else - {{-- --}} - {{-- --}} - - - {{-- --}} - @endif - @endforeach - - @empty - - - - @endforelse - -
NoPlantLineItem CodeCategory - Production Plan Dates -
- {{ $date }} - - {{ $date }} -
Item QuantityPlan Quantity - Actual Quantity - Produced Quantity
{{ $index + 1 }}{{ $record['plant_name'] }}{{ $record['line_name'] }}{{ $record['item_code'] }}{{ $record['category'] }}{{ $record['target_plan'][$date] ?? '-' }}{{ $record['production_plan'][$date] ?? '-' }}---{{ $record['daily_target'] ?? '-' }} - {{ $record['daily_hourly_quantity'][$date] ?? '-' }} - - {{ $record['daily_target_dynamic'][$date] ?? '-' }} - - {{ $record['produced_quantity'][$date] ?? '-' }} - {{ $record['produced_quantity'] ?? '-' }}
- No production plan data found. -
-