Fix for data viz
This commit is contained in:
parent
ad8bd3eda5
commit
af8d4ad370
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class ReportController extends BaseController
|
|||
->with(['clients.invoices.invoice_items', 'clients.contacts'])
|
||||
->first();
|
||||
$account = $account->hideFieldsForViz();
|
||||
$clients = $account->clients->toJson();
|
||||
$clients = $account->clients;
|
||||
} elseif (file_exists($fileName)) {
|
||||
$clients = file_get_contents($fileName);
|
||||
$message = trans('texts.sample_data');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue