|
@@ -11,6 +11,7 @@ class ShowReports extends Component
|
|
|
{
|
|
{
|
|
|
public $datatableName;
|
|
public $datatableName;
|
|
|
public $datatableColumnsConfig;
|
|
public $datatableColumnsConfig;
|
|
|
|
|
+ public $datatableHeadersConfig;
|
|
|
|
|
|
|
|
public function mount($datatableName)
|
|
public function mount($datatableName)
|
|
|
{
|
|
{
|
|
@@ -26,6 +27,7 @@ class ShowReports extends Component
|
|
|
|
|
|
|
|
// Store the decoded JSON as a plain array
|
|
// Store the decoded JSON as a plain array
|
|
|
$this->datatableColumnsConfig = json_decode($datatableConfigQuery->columns_config, true);
|
|
$this->datatableColumnsConfig = json_decode($datatableConfigQuery->columns_config, true);
|
|
|
|
|
+ $this->datatableHeadersConfig = json_decode($datatableConfigQuery->column_headers, true);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public function render()
|
|
public function render()
|