@extends('layouts.app') @section('head') @include('layouts.partials.headersection',['title'=>'Customer']) @endsection @section('content')
{{ __('Plan') }}
{{ $info->user_plan->plan_info->name ?? '' }}
{{ __('Will Expired') }}
{{ $info->user_plan->will_expired ?? '' }}
{{ __('Status') }}
@if($info->status==1) {{ __('Active') }} @elseif($info->status==0) {{ __('Trash') }} @elseif($info->status==2) {{ __('Suspended') }} @elseif($info->status==3) {{ __('Pending') }} @endif
  • {{ __('Name :') }} {{ $info->name }}
  • {{ __('Email :') }} {{ $info->email }}
  • {{ __('Domain :') }} {{ $info->user_domain->domain ?? '' }} @if(!empty($info->user_domain)) @if($info->user_domain->status === 1) {{ __('Active') }} @elseif($info->user_domain->status === 0) {{ __('Trash') }} @elseif($info->user_domain->status === 2) {{ __('Draft') }} @elseif($info->user_domain->status === 3) {{ __('Pending') }} @endif @endif
  • {{ __('Total Customers :') }} {{ number_format($info->customers_count) }}
  • {{ __('Total Orders :') }} {{ number_format($info->orders_count) }}
  • {{ __('Total Posts:') }} {{ number_format($info->term_count) }}
  • {{ __('Storage Used:') }} {{ folderSize('uploads/'.$info->id) }}MB / {{ $info->user_plan->plan_info->storage ?? 0 }} MB
  • {{ __('Joining Date:') }} {{ $info->created_at->format('d-F-Y') }}
@csrf

{{ __('Send Email') }}

{{ __('Plan Purchase History') }}

@foreach($histories as $row) @isset($row->payment_method->trasection_id) @endisset @endforeach
{{ __('Invoice No') }} {{ __('Plan Name') }} {{ __('Price') }} {{ __('Payment Method') }} {{ __('Payment Id') }} {{ __('Created at') }} {{ __('View') }}
{{ $row->order_no }} {{ $row->plan_info->name }} {{ $row->amount }} {{ $row->payment_method->method->name ?? '' }} {{ $row->payment_method->trasection_id ?? '' }} {{ $row->created_at->format('d-F-Y') }}
{{ $histories->links('vendor.pagination.bootstrap-4') }}

{{ __('Customers') }}

@csrf
@foreach($customers as $row) @endforeach
# {{ __('Name') }} {{ __('Email') }} {{ __('Orders') }} {{ __('Created at') }}
{{ $row->name }} {{ $row->email }} {{ $row->orders_count }} {{ $row->created_at->format('d-F-Y') }}
{{ $customers->links('vendor.pagination.bootstrap-4') }}

{{ __('Products And Pages') }}

@csrf
@foreach($posts as $row) @endforeach
# {{ __('Title') }} {{ __('Type') }} {{ __('Created at') }}
{{ $row->title }} {{ $row->type }} {{ $row->created_at->format('d-F-Y') }}
{{ $posts->links('vendor.pagination.bootstrap-4') }}
@endsection @push('js') @endpush