|
@@ -9,7 +9,7 @@ if(!in_array($customer_id, $customer_ids)) throw new Exception(__("You do not ha
|
|
|
$customer = Customer::get($customer_id);
|
|
$customer = Customer::get($customer_id);
|
|
|
$projects = $customer->getProjects();
|
|
$projects = $customer->getProjects();
|
|
|
|
|
|
|
|
-$projects = array_filter($projects, function($project) {
|
|
|
|
|
|
|
+$projects = array_filter($projects, function(Project $project) {
|
|
|
return $project->isFinished();
|
|
return $project->isFinished();
|
|
|
});
|
|
});
|
|
|
|
|
|