mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
fix bill seeder
This commit is contained in:
@@ -102,7 +102,7 @@ class Booking extends AbstractModel implements Documentable, Transactionable
|
||||
*/
|
||||
public function bills(): hasManyDeep
|
||||
{
|
||||
return $this->hasManyDeepFromRelations($this->transactions(), (new Transaction())->transactions());
|
||||
return $this->hasManyDeepFromRelations($this->transactions(), (new Transaction())->setAlias('bills')->transactions());
|
||||
}
|
||||
|
||||
protected static function booted()
|
||||
|
||||
Reference in New Issue
Block a user