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