From 19e2d08adca0104e5c9365532a15c55d21c7810e Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Thu, 26 Feb 2026 17:40:03 +0530 Subject: [PATCH] Added item quantity in export of production target page --- app/Exports/ProductionPlanExport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Exports/ProductionPlanExport.php b/app/Exports/ProductionPlanExport.php index f3278a1..14ea2d6 100644 --- a/app/Exports/ProductionPlanExport.php +++ b/app/Exports/ProductionPlanExport.php @@ -34,7 +34,7 @@ class ProductionPlanExport implements FromArray, WithHeadings, WithMapping // Add dynamic headings for each date: Target / Produced foreach ($this->dates as $date) { - $headings[] = $date . ' - Line Capacity'; + $headings[] = $date . ' - Item Quantity'; $headings[] = $date . ' - Target Plan'; $headings[] = $date . ' - Produced Quantity'; } @@ -51,7 +51,7 @@ class ProductionPlanExport implements FromArray, WithHeadings, WithMapping ]; foreach ($this->dates as $date) { - $mapped[] = $row['daily_line_capacity'][$date] ?? '-'; + $mapped[] = $row['daily_hourly_quantity'][$date] ?? '-'; $mapped[] = $row['daily_target_dynamic'][$date] ?? '-'; $mapped[] = $row['produced_quantity'][$date] ?? '-'; } -- 2.49.1