Added hosting report and enabled updating hosting details

This commit is contained in:
Deon George
2022-04-02 20:26:59 +11:00
parent edc06e51fb
commit 9659621ba0
11 changed files with 275 additions and 19 deletions

View File

@@ -2,15 +2,18 @@
namespace App\Models\Service;
use Carbon\Carbon;
use App\Interfaces\ServiceItem;
use App\Models\Base\ServiceType;
use App\Models\DomainTld;
use App\Models\HostServer;
use App\Traits\NextKey;
use Carbon\Carbon;
use App\Traits\{ScopeServiceActive,ScopeServiceUserAuthorised};
class Host extends ServiceType implements ServiceItem
{
use ScopeServiceActive,ScopeServiceUserAuthorised;
use NextKey;
const RECORD_ID = 'service__hosting';
@@ -38,7 +41,7 @@ class Host extends ServiceType implements ServiceItem
public function getServiceExpireAttribute(): Carbon
{
// TODO: Implement getServiceExpireAttribute() method.
return $this->host_expire;
}
public function getServiceNameAttribute(): string