__('Sub_account_type 1'),'2' => __('Sub_account_type 2')]; } public function getSubAccountTypeTextAttr($value, $data) { $value = $value ? $value : ($data['sub_account_type']??''); $list = $this->getSubAccountTypeList(); return isset($list[$value]) ? $list[$value] : ''; } }