Skip to main content

Paymenter/Paymenter

1177 stars
1 code files
View Paymenter/Paymenter on GitHub

app/Models/AffiliateUser.php

Open in GitHub
class AffiliateUser extends Model
{
// ...
 
public function invoices()
{
return $this->hasManyThrough(Invoice::class, User::class, 'id', 'user_id', 'user_id', 'id');
}
 
// ...
}

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.