__('Normal'), 'hidden' => __('Hidden')]; } public function getStatusTextAttr($value, $data) { $value = $value ?: ($data['status'] ?? ''); $list = $this->getStatusList(); return $list[$value] ?? ''; } public function getImageAttr($value, $data) { $value = $value ? $value : "/assets/addons/shop/img/checked.png"; return cdnurl($value, true); } }