Swan_Yee
Swan_Yee
FFilament
Created by Vhelkhana on 5/9/2024 in #❓┊help
Column relationships dot syntax not working
PendingEmailStudentPortal to student Rs should be like this
class PendingEmailStudentPortal extends Model
{
use HasFactory;

protected $guarded = [
'id',
'student_id',
'created_at',
'updated_at',
];

public function student(): BelongTo
{
return $this->belongTo(Student::class);
}
}
class PendingEmailStudentPortal extends Model
{
use HasFactory;

protected $guarded = [
'id',
'student_id',
'created_at',
'updated_at',
];

public function student(): BelongTo
{
return $this->belongTo(Student::class);
}
}
I think u need to learn about laravel Model relationship
6 replies
FFilament
Created by Swan_Yee on 6/18/2023 in #❓┊help
Custom UI Filter in table builder
Thanks bros
6 replies