Removed Item Quantity in production plan export
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Laravel Pint / pint (pull_request) Successful in 3m39s
Laravel Larastan / larastan (pull_request) Failing after 5m25s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Laravel Pint / pint (pull_request) Successful in 3m39s
Laravel Larastan / larastan (pull_request) Failing after 5m25s
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