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');
}
}
+1 -1
View File
@@ -22,5 +22,5 @@ class RentalMoonObserver extends Model
'observer_name',
'observer_type',
'last_updated',
];
];
}