fix(laporan) perbaikkan output laporan
This commit is contained in:
committed by
Daeng Deni Mardaeni
parent
47b585062b
commit
3430423749
@@ -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');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user