This commit is contained in:
Linksehat Staging Server
2023-12-07 09:31:41 +07:00
parent 6edf7311f3
commit f9b970fbd1
7 changed files with 10 additions and 22 deletions

View File

@@ -172,4 +172,8 @@ class Appointment extends Model
{
return $this->belongsTo(Healthcare::class, 'nIDHealthCare', 'nID');
}
public function consulPrice(){
return $this->hasOne(JadwalDokter::class, 'nIDDokter', 'nIDDokter');
}
}