payment providers and some stan
This commit is contained in:
@@ -77,4 +77,20 @@ class Branch extends Model
|
||||
{
|
||||
return $this->belongsToMany(User::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get billing username
|
||||
*/
|
||||
public function billingUsername(): string
|
||||
{
|
||||
return $this->billing_username ?: '-';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get billing password
|
||||
*/
|
||||
public function billingPassword(): string
|
||||
{
|
||||
return $this->billing_password ?: '-';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user