fix(laporan) perbaikkan output laporan

This commit is contained in:
majid
2025-03-19 11:07:43 +07:00
parent 3c429a71c8
commit fa4a97a2cb
2 changed files with 74 additions and 14 deletions

View File

@@ -248,4 +248,15 @@
{
return $this->belongsTo(LaporanExternal::class,'id','permohonan_id');
}
public function laporan()
{
return $this->belongsTo(Laporan::class,'id','permohonan_id');
}
public function inspeksi(){
return $this->belongsTo(Inspeksi::class, 'permohonan_id');
}
}