/** * Add this method to app/Models/ProbationCase.php, near the other * relations (e.g. right after `completion()`). Nothing else in that * file needs to change. */ public function ledger() { return $this->hasOne(\App\Models\ProbationCaseLedger::class, 'probation_case_id'); }