Add server
Compare
servers
Add a YABs
Name |
|
OS |
|
|
|
Location |
Provider |
Price |
Due in |
Had since |
Actions |
@if(!empty($servers))
@foreach($servers as $server)
{{ $server->hostname }} |
{{ App\Models\Server::serviceServerType($server->server_type) }}
|
{!!App\Models\Server::osIntToIcon($server->os_id, $server->os_name)!!} |
{{$server->cpu}} |
@if(isset($server->ram))
{{ $server->ram }}{{$server->ram_type}}
@else
{{$server->ram_as_mb}}MB
@endif
|
@if(isset($server->disk))
{{ $server->disk }}{{$server->disk_type}}
@else
{{$server->disk}}GB
@endif
|
{{ $server->location }} |
{{ $server->provider_name }} |
{{ $server->price }} {{$server->currency}} {{\App\Process::paymentTermIntToString($server->term)}} |
{{now()->diffInDays(Carbon\Carbon::parse($server->next_due_date))}}
days |
{{ $server->owned_since }} |
|
@endforeach
@else
No servers found. |
@endif
Add server
Compare
servers
Name |
|
OS |
|
|
|
Location |
Provider |
Price |
Had since |
Actions |
@if(!empty($non_active_servers))
@foreach($non_active_servers as $server)
{{ $server->hostname }} |
{{ App\Models\Server::serviceServerType($server->server_type) }}
|
{!!App\Models\Server::osIntToIcon($server->os_id, $server->os_name)!!} |
{{$server->cpu}} |
@if($server->ram_as_mb > 1024)
{{ number_format(($server->ram_as_mb / 1024),0) }}GB
@else
{{$server->ram_as_mb}}MB
@endif
|
@if($server->disk > 1000)
{{ number_format(($server->disk / 1024),1) }}TB
@else
{{$server->disk}}GB
@endif
|
{{ $server->location }} |
{{ $server->provider_name }} |
{{ $server->price }} {{$server->currency}} {{\App\Process::paymentTermIntToString($server->term)}} |
{{ $server->owned_since }} |
|
@endforeach
@else
No non-active servers found. |
@endif
@if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
Built on Laravel
v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})
@endif