added vpn feature to mno

This commit is contained in:
Kwesi Banson Jnr
2026-08-17 19:37:22 +00:00
parent a797d9587c
commit e4a6a40d16
7 changed files with 329 additions and 8 deletions

View File

@@ -19,6 +19,10 @@ class NetworkOperator extends Model
public function account_manager_info(){
return $this->hasOne('App\Models\StaffMember', 'id', 'account_manager_id');
}
public function connectionDetails()
{
return $this->hasMany(NetworkOperatorConnection::class, 'network_operator_id');
}
/*
public function setBuyingRateAttribute($value)
{
@@ -32,4 +36,5 @@ class NetworkOperator extends Model
set: fn (string $value) => filter_var($value, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION)
);
}
}