Compare commits
2 Commits
b421692560
...
9fe342df80
| Author | SHA1 | Date | |
|---|---|---|---|
| 9fe342df80 | |||
|
|
d8fdf02417 |
@@ -51,7 +51,8 @@ class ProductionPlanExport implements FromArray, WithHeadings, WithMapping
|
|||||||
|
|
||||||
// Add daily target and produced quantity for each date
|
// Add daily target and produced quantity for each date
|
||||||
foreach ($this->dates as $date) {
|
foreach ($this->dates as $date) {
|
||||||
$mapped[] = $row['daily_target'] ?? 0;
|
// $mapped[] = $row['daily_target_dynamic'] ?? 0;
|
||||||
|
$mapped[] = $row['daily_target_dynamic'][$date] ?? '-';
|
||||||
$mapped[] = $row['produced_quantity'][$date] ?? 0;
|
$mapped[] = $row['produced_quantity'][$date] ?? 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user