diff --git a/app/Console/Commands/SendProductionReport.php b/app/Console/Commands/SendProductionReport.php index 68c0cb3..10963bf 100644 --- a/app/Console/Commands/SendProductionReport.php +++ b/app/Console/Commands/SendProductionReport.php @@ -322,6 +322,7 @@ class SendProductionReport extends Command 'nightShiftEfficiency' => floor($nightShiftEfficiency) . '%', 'targetQuantity' => floor($totalTargetQuantity), 'productionQuantity' => $productionQuantity, + 'uom' => $line->uom, 'efficiency' => $efficiency . '%', ]; } diff --git a/resources/views/mail/production_report.blade.php b/resources/views/mail/production_report.blade.php index a05a9e1..d12be28 100644 --- a/resources/views/mail/production_report.blade.php +++ b/resources/views/mail/production_report.blade.php @@ -141,6 +141,7 @@ Plan Quantity Actual Quantity + UOM Plan Vs Actual Efficiency(%) @@ -215,6 +216,9 @@ {{ $row['productionQuantity'] }} + + {{ $row['uom'] }} + {{-- {{ $row['efficiency'] }}