1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Added activities to API dashboard data

This commit is contained in:
Hillel Coren 2016-08-15 16:43:59 +03:00
parent 2ebd40f46e
commit d94974db59

View File

@ -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,