__('Prepay'), 'monthly' => __('Monthly')]; } public function getVerifyStatusList() { return ['pending' => __('Pending'), 'pass' => __('Pass'), 'reject' => __('Reject')]; } public function getSettleTypeTextAttr($value, $data) { $value = $value ?: ($data['settle_type'] ?? ''); $list = $this->getSettleTypeList(); return $list[$value] ?? ''; } public function getVerifyStatusTextAttr($value, $data) { $value = $value ?: ($data['verify_status'] ?? ''); $list = $this->getVerifyStatusList(); return $list[$value] ?? ''; } }