fix(laporan) perbaikkan output laporan

This commit is contained in:
majid
2025-03-19 11:07:43 +07:00
committed by Daeng Deni Mardaeni
parent 47b585062b
commit 3430423749
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');
}
}