Merge pull request 'Removed Item Quantity in production plan export' (#1224) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 20s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 20s
Reviewed-on: #1224
This commit was merged in pull request #1224.
This commit is contained in:
@@ -34,7 +34,6 @@ class ProductionPlanExport implements FromArray, WithHeadings, WithMapping
|
|||||||
|
|
||||||
// Add dynamic headings for each date: Target / Produced
|
// Add dynamic headings for each date: Target / Produced
|
||||||
foreach ($this->dates as $date) {
|
foreach ($this->dates as $date) {
|
||||||
$headings[] = $date . ' - Item Quantity';
|
|
||||||
$headings[] = $date . ' - Target Plan';
|
$headings[] = $date . ' - Target Plan';
|
||||||
$headings[] = $date . ' - Produced Quantity';
|
$headings[] = $date . ' - Produced Quantity';
|
||||||
}
|
}
|
||||||
@@ -51,7 +50,6 @@ class ProductionPlanExport implements FromArray, WithHeadings, WithMapping
|
|||||||
];
|
];
|
||||||
|
|
||||||
foreach ($this->dates as $date) {
|
foreach ($this->dates as $date) {
|
||||||
$mapped[] = $row['daily_hourly_quantity'][$date] ?? '-';
|
|
||||||
$mapped[] = $row['daily_target_dynamic'][$date] ?? '-';
|
$mapped[] = $row['daily_target_dynamic'][$date] ?? '-';
|
||||||
$mapped[] = $row['produced_quantity'][$date] ?? '-';
|
$mapped[] = $row['produced_quantity'][$date] ?? '-';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user