Improving view

This commit is contained in:
Gregorio Chiko Putra
2019-05-15 16:16:21 +07:00
parent dbe517c1fc
commit 5839165531
18 changed files with 2895 additions and 120 deletions

View File

@@ -21,4 +21,9 @@ class Siswa extends Model
'tanggal_lahir' => 'datetime:Y-m-d',
'lulus' => 'boolean',
];
public function hasilBelajar()
{
return $this->hasOne('App\HasilBelajar');
}
}