mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 02:50:39 +00:00
added invoice profile
This commit is contained in:
@@ -4,20 +4,21 @@ namespace App\Traits;
|
||||
|
||||
use App\Models\Oasis\Client;
|
||||
use App\Models\Oasis\Invoice;
|
||||
use App\Models\Oasis\InvoiceProfile;
|
||||
use App\Models\Oasis\SubscriptionRequest;
|
||||
|
||||
trait Oasis
|
||||
{
|
||||
/**
|
||||
* Get user subscription request
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function subscriptionRequest()
|
||||
{
|
||||
return $this->hasOne(SubscriptionRequest::class);
|
||||
}
|
||||
|
||||
public function invoiceProfile()
|
||||
{
|
||||
return $this->hasOne(InvoiceProfile::class);
|
||||
}
|
||||
|
||||
public function clients()
|
||||
{
|
||||
return $this->hasMany(Client::class, 'user_id', 'id');
|
||||
|
||||
Reference in New Issue
Block a user