Removed unwanted lines for production send report
This commit is contained in:
@@ -204,7 +204,7 @@ class SendProductionReport extends Command
|
|||||||
->whereBetween('created_at', [$PlanstartDate, $planendDate])
|
->whereBetween('created_at', [$PlanstartDate, $planendDate])
|
||||||
->sum('plan_quantity');
|
->sum('plan_quantity');
|
||||||
|
|
||||||
if (strtolower($line->type) === 'fg line') {
|
if (strtolower($line->type) == 'fg line') {
|
||||||
$productionQuantity = \App\Models\QualityValidation::where('plant_id', $plant->id)
|
$productionQuantity = \App\Models\QualityValidation::where('plant_id', $plant->id)
|
||||||
->where('line_id', $line->id)
|
->where('line_id', $line->id)
|
||||||
->whereBetween('created_at', [$startDate, $endDate])
|
->whereBetween('created_at', [$startDate, $endDate])
|
||||||
|
|||||||
Reference in New Issue
Block a user