@extends('layouts.admin') @section('content')
| {{ __('Customer') }} | {{ __('Domain & Package') }} | {{ __('Server & IP') }} | {{ __('Pricing') }} | {{ __('Status') }} | {{ __('Options') }} |
|---|---|---|---|---|---|
|
{{ strtoupper(substr($hosting->user->name ?? 'U', 0, 1)) }}
{{ $hosting->user->name ?? 'Guest' }}
{{ $hosting->user->email ?? '' }}
|
{{ $hosting->domain }}
{{ $hosting->plan->name ?? 'N/A' }}
|
{{ $hosting->ip_address ?? '0.0.0.0' }}
{{ $hosting->server->name ?? 'No Server' }}
|
৳ {{ number_format($hosting->amount, 2) }}
{{ $hosting->billing_cycle }}
|
@php $statusClass = strtolower($hosting->status); @endphp
@if($statusClass === 'suspended')
Suspended (ডিঅ্যাকটিভ)
@elseif($statusClass === 'expired')
Expired (ডিঅ্যাকটিভ)
@else
{{ $hosting->status }}
@endif
@if($hosting->next_due_date)
Due: {{ \Carbon\Carbon::parse($hosting->next_due_date)->format('d M, Y') }}
@endif
|
|
{{ __('No hostings found.') }} |
|||||