fix reports
This commit is contained in:
parent
43b76df601
commit
790077ce55
@ -137,7 +137,8 @@ class Reports extends \yii\db\ActiveRecord
|
|||||||
|
|
||||||
public static function getFio($data)
|
public static function getFio($data)
|
||||||
{
|
{
|
||||||
$user_card = UserCard::findOne(['id' => $data->user_card_id]);
|
//Debug::dd($data);
|
||||||
|
$user_card = UserCard::findOne(['id_user' => $data->user_id]);
|
||||||
return $user_card->fio ?? null;
|
return $user_card->fio ?? null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user