修复错误
This commit is contained in:
parent
5f01063e14
commit
3146e06e70
@ -52,7 +52,7 @@
|
||||
|
||||
public function getFundSourcesTextAttr($value, $data)
|
||||
{
|
||||
$dict = DictData::where('type_value', 'cost_consultation_fund_sources')->column('name', 'value');
|
||||
$dict = DictData::where('type_value', 'money_source')->column('name', 'value');
|
||||
return !empty($data['fund_sources']) ? $dict[$data['fund_sources']] : '';
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
||||
|
||||
public function getFundSourcesTextAttr($value, $data)
|
||||
{
|
||||
$dict = DictData::where('type_value', 'cost_consultation_fund_sources')->column('name', 'value');
|
||||
$dict = DictData::where('type_value', 'money_source')->column('name', 'value');
|
||||
return !empty($data['fund_sources']) ? $dict[$data['fund_sources']] : '';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user