From d94974db5954ecd631cc2308c0a842d6eb8aa02e Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 15 Aug 2016 16:43:59 +0300 Subject: [PATCH] Added activities to API dashboard data --- app/Http/Controllers/DashboardController.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/Http/Controllers/DashboardController.php b/app/Http/Controllers/DashboardController.php index 8de930e2d9..2717f8e4ca 100644 --- a/app/Http/Controllers/DashboardController.php +++ b/app/Http/Controllers/DashboardController.php @@ -47,14 +47,6 @@ class DashboardController extends BaseController } } - $data = $activities->map(function($item, $key) { - $obj = new stdClass; - $obj->client_id = $item->client->public_id; - return $obj; - }); - dd($data[0]); - - $data = [ 'account' => $user->account, 'paidToDate' => $paidToDate,