Merge pull request 'Added else if in production report' (#1121) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Reviewed-on: #1121
This commit was merged in pull request #1121.
This commit is contained in:
@@ -236,7 +236,7 @@ class SendProductionReport extends Command
|
|||||||
->count();
|
->count();
|
||||||
|
|
||||||
}
|
}
|
||||||
if(strtolower($line->type) == 'process fg line'){
|
else if(strtolower($line->type) == 'process fg line'){
|
||||||
$productionQuantity = \App\Models\ProcessOrder::where('plant_id', $plant->id)
|
$productionQuantity = \App\Models\ProcessOrder::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