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:
parent
2ebd40f46e
commit
d94974db59
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user