added relationships for mining taxes
This commit is contained in:
@@ -22,4 +22,10 @@ class Observer extends Model
|
||||
'observer_id',
|
||||
'observer_type',
|
||||
];
|
||||
|
||||
public function getLedgers() {
|
||||
return $this->hasMany('App\Models\MiningTax\Ledger', 'observer_id', 'observer_id');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user