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:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user