|
@ -55,6 +55,7 @@ class Item extends Model |
|
|
public function getConfigAttribute() |
|
|
public function getConfigAttribute() |
|
|
{ |
|
|
{ |
|
|
$output = null; |
|
|
$output = null; |
|
|
|
|
|
$view = null; |
|
|
if(isset($this->description) && !empty($this->description)){ |
|
|
if(isset($this->description) && !empty($this->description)){ |
|
|
$output = json_decode($this->description); |
|
|
$output = json_decode($this->description); |
|
|
if(isset($output->type) && !empty($output->type)) { |
|
|
if(isset($output->type) && !empty($output->type)) { |
|
|