From 35492de070dad55ecd73d00ff9d7304f714c79c5 Mon Sep 17 00:00:00 2001 From: cp6 Date: Sun, 20 Feb 2022 15:54:39 +1100 Subject: [PATCH] Updated resellers show blade Updated resellers show blade --- resources/views/reseller/show.blade.php | 222 ++++++++++++------------ 1 file changed, 115 insertions(+), 107 deletions(-) diff --git a/resources/views/reseller/show.blade.php b/resources/views/reseller/show.blade.php index 2c3ef5e..30430de 100644 --- a/resources/views/reseller/show.blade.php +++ b/resources/views/reseller/show.blade.php @@ -4,135 +4,143 @@ {{ __('Reseller hosting details') }}
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Labels - @foreach($labels as $label) - @if($loop->last) - {{$label->label}} - @else - {{$label->label}}, - @endif - @endforeach -
Id{{ $reseller->id }}
Main domain{{ $reseller->main_domain }}
Location{{ $reseller_extras[0]->location }}
Provider{{ $reseller_extras[0]->provider_name }}
Price{{ $reseller_extras[0]->price }} {{ $reseller_extras[0]->currency }}
Term{{ \App\Process::paymentTermIntToString($reseller_extras[0]->term) }}
Has dedicated IP?{{ ($reseller->has_dedicated_ip)? 'Yes': 'No' }}
IP{{ $reseller->ip }}
Owned since - @if(!is_null($reseller->owned_since)) - {{ date_format(new DateTime($reseller->owned_since), 'jS F Y') }} - @endif -
Next due date - @if(!is_null($reseller_extras[0]->next_due_date)) - {{ date_format(new DateTime($reseller_extras[0]->next_due_date), 'jS F Y') }} - @endif -
Created on{{ date_format($reseller->created_at, 'jS F Y') }}
Last updated{{ date_format($reseller->updated_at, 'jS F Y') }}
-
-
-
- + +
+
+

{{ $reseller->main_domain }}

+ @foreach($labels as $label) + @if($loop->last) + {{$label->label}} + @else + {{$label->label}}, + @endif + @endforeach +
+
+
{{ $reseller->id }}
+ @if($reseller->active !== 1) +
not active
+ @endif +
+
+
+
+
+
- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + + + + +
Disk GB{{$reseller->disk_as_gb}}Type{{ $reseller_extras[0]->reseller_type }}
Bandwidth GB{{$reseller->bandwidth}}Main domain{{ $reseller->main_domain }}
Accounts{{$reseller->accounts}}Location{{ $reseller_extras[0]->location }}
Domains Limit{{$reseller->domains_limit}}Provider{{ $reseller_extras[0]->provider_name }}
Subdomains Limit{{$reseller->subdomains_limit}}Price{{ $reseller_extras[0]->price }} {{ $reseller_extras[0]->currency }} + {{\App\Process::paymentTermIntToString($reseller_extras[0]->term)}} +
Email Limit{{$reseller->email_limit}}Has dedicated IP?{{ ($reseller->has_dedicated_ip)? 'Yes': 'No' }}
DB Limit{{$reseller->db_limit}}IP{{ $reseller->ip }}
FTP Limit{{$reseller->ftp_limit}}Owned since + @if(!is_null($reseller->owned_since)) + {{ date_format(new DateTime($reseller->owned_since), 'jS F Y') }} + @endif +
Next due date{{Carbon\Carbon::parse($reseller_extras[0]->next_due_date)->diffForHumans()}} + ({{Carbon\Carbon::parse($reseller_extras[0]->next_due_date)->format('d/m/Y')}}) +
Inserted + @if(!is_null($reseller->created_at)) + {{ date_format(new DateTime($reseller->created_at), 'jS M y g:i a') }} + @endif +
Updated + @if(!is_null($reseller->updated_at)) + {{ date_format(new DateTime($reseller->updated_at), 'jS M y g:i a') }} + @endif +
-
- - Go back - - - Edit - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Disk GB{{$reseller->disk_as_gb}}
Accounts{{$reseller->accounts}}
Domains Limit{{$reseller->domains_limit}}
Subdomains Limit{{$reseller->subdomains_limit}}
Bandwidth GB{{$reseller->bandwidth}}
Email Limit{{$reseller->email_limit}}
DB Limit{{$reseller->db_limit}}
FTP Limit{{$reseller->ftp_limit}}
+ +
-
+ + Go back + + + Edit + + @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)

Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}