fetch rental moon ledger and observer updates along with starting moon rental invoice job. up next is moon rental payment job.

This commit is contained in:
2020-05-10 05:11:50 -05:00
parent 8e93eececf
commit 40e18ccb7a
4 changed files with 51 additions and 29 deletions
+4
View File
@@ -23,4 +23,8 @@ class RentalMoonObserver extends Model
'observer_type',
'last_updated',
];
public function ledger() {
return $this->hasMany('App\Models\Moon\RentalMoonLedger', 'observer_id', 'observer_id');
}
}