|
|
@ -42,10 +42,10 @@ class ScheduleHealth extends Command |
|
|
|
|
|
|
|
|
|
|
|
public function handle() |
|
|
|
public function handle() |
|
|
|
{ |
|
|
|
{ |
|
|
|
$projects = Project::whereNull('deleted_at')->get(); |
|
|
|
$projects = Project::where('company_id', 5)->get(); |
|
|
|
$totalProjects = $projects->count(); |
|
|
|
$totalProjects = $projects->count(); |
|
|
|
$updatedProjects = []; |
|
|
|
$updatedProjects = []; |
|
|
|
|
|
|
|
Log::info($totalProjects); |
|
|
|
foreach ($projects as $index => $project) { |
|
|
|
foreach ($projects as $index => $project) { |
|
|
|
$project->scurve = MasterFunctionsHelper::getSCurve($project->id); |
|
|
|
$project->scurve = MasterFunctionsHelper::getSCurve($project->id); |
|
|
|
|
|
|
|
|
|
|
|