mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Dashboard API
This commit is contained in:
parent
0ec1fcbd23
commit
d83a02f80f
@ -158,7 +158,7 @@ class DashboardApiController extends BaseAPIController
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
$data = [
|
||||
'id' => 1,
|
||||
'paidToDate' => $paidToDate[0]->value,
|
||||
@ -171,7 +171,7 @@ class DashboardApiController extends BaseAPIController
|
||||
'activeClients' => $metrics ? $metrics->active_clients : 0,
|
||||
];
|
||||
|
||||
/*
|
||||
*/
|
||||
$data = [
|
||||
'id' => 1,
|
||||
'paidToDate' => $paidToDate,
|
||||
@ -180,7 +180,7 @@ class DashboardApiController extends BaseAPIController
|
||||
'invoicesSent' => $metrics ? $metrics->invoices_sent : 0,
|
||||
'activeClients' => $metrics ? $metrics->active_clients : 0,
|
||||
];
|
||||
*/
|
||||
|
||||
return $this->response($data);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user