merge claim detail

This commit is contained in:
2023-11-01 22:46:59 +07:00
parent 01fcaf7181
commit 5b3cddf5fe
18 changed files with 4371 additions and 3416 deletions

View File

@@ -264,5 +264,11 @@ class Claim extends Model
{
return $this->items->sum('nominal_ditagihkan');
}
public function historyHospitalCare()
{
return $this->hasMany(ClaimHistoryCare::class, 'claim_id');
}
}