more work on rental moon ledgers

This commit is contained in:
2020-05-10 04:23:49 -05:00
parent db6876cdca
commit c6f807ebad
6 changed files with 202 additions and 17 deletions
+9
View File
@@ -29,4 +29,13 @@ class RentalMoonLedger extends Model
'recorded_corporation_name',
'last_updated',
];
/**
* Get the observer this belongs to
*/
public function observer() {
return $this->belongsTo('App\Models\Moon\RentalMoonObserver', 'observer_id', 'observer_id');
}
}