@lang('Welcome to the') {{ config('variables.templateFullName') }} 👋
@if($domainRequest && $domainRequest->status == DomainRequestStatus::APPROVED)
@endif
@if ($activePlan)
Your Active Plan
@lang('Add More Users')
@lang('Plan Name'):
{{ $activePlan->name }}
@lang('Base Price'):
{{$settings->currency_symbol}}{{ $activePlan->base_price }}
@lang('Per User Price'):
{{$settings->currency_symbol}}{{ $activePlan->per_user_price }}
@lang('Included Users'):
{{ $activePlan->included_users }}
@lang('Add-On Users'):
{{ $subscription->additional_users }}
@lang('Duration'):
{{ $activePlan->duration }} {{ ucfirst($activePlan->duration_type->value) }}
@lang('Expiry Date'):
{{ Carbon::parse(auth()->user()->plan_expired_date)->format('D, d M Y h:i a') }}
{{ round(now()->diffInDays(auth()->user()->plan_expired_date)) }} days
@lang('Remaining')
@lang('Renew Plan')
{{--
@lang('Upgrade Plan') --}}
@else
@lang('You Don\'t Have an Active Plan')
Check out the available plans below and subscribe to get started!
@endif
@if($offlineRequests->where('status', OfflineRequestStatus::PENDING)->count() > 0)
Offline Request Pending!
Your offline request is pending approval. You will be notified once it is approved.
@endif
@if($activePlan)
@if(!$domainRequest)
Domain Request Pending!
Kindly make a domain request to proceed further. This will be your primary domain to access the
application.
Note only subdomains are allowed. Do not include http:// or https://
@elseif($domainRequest->status == DomainRequestStatus::PENDING)
Domain Request Pending Approval!
Your domain request is pending approval. You will be notified once it is approved.
Note: Domain request approval may
take up to 24 hours.
@elseif(!$domainRequest->updated_at->diffInDays(now()) > 5 && $domainRequest->status == DomainRequestStatus::APPROVED)
Domain Request Approved!
Your domain request has been approved. You can now access your application.
@elseif($domainRequest->status == DomainRequestStatus::REJECTED)
Domain Request Rejected!
Your domain request has been rejected. Please make a new request with a different domain.
@elseif($domainRequest->status == DomainRequestStatus::PENDING)
Domain Request Pending!
Your domain request is pending approval. You will be notified once it is approved.
@elseif($domainRequest->status == DomainRequestStatus::CANCELLED)
Domain Request Cancelled!
Your domain request has been cancelled. Please make a new request.
This will be your primary domain to access the application.
Note only subdomains are allowed. Do not include http:// or https://
@endif
@endif
Available Plans
@foreach ($availablePlans as $plan)
@if($activePlan && $activePlan->id == $plan->id)
Current Plan
@elseif($activePlan && $plan->base_price > $activePlan->base_price)
Upgrade Available
@endif
{{ $plan->name }}
{{$settings->currency_symbol}}{{ $plan->base_price }}
base price for {{ $plan->duration }} {{ ucfirst($plan->duration_type->value) }}
Included Users:
{{ $plan->included_users }}
Additional User:
{{$settings->currency_symbol}}{{ $plan->per_user_price }} / user
@foreach(ModuleConstants::All_MODULES as $module)
{{ $module }}
@if(collect($plan->modules)->contains($module))
@else
@endif
@endforeach
{{ $plan->description }}
@if($activePlan && $activePlan->id == $plan->id)
Subscribed
@elseif($activePlan && $plan->base_price > $activePlan->base_price)
Upgrade Now
@elseif($activePlan && $plan->base_price <= $activePlan->base_price)
Plan Unavailable
@else
Subscribe
@endif
@endforeach
Order History
@if ($orders->isNotEmpty())
Order ID
Type
Plan
Additional Users
Amount
Gateway
Status
Created At
Actions
@foreach ($orders as $order)
{{ $order->id }}
{{ $order->type }}
{{ $order->plan->name }}
Duration: {{ $order->plan->duration }} {{ $order->plan->duration_type->value }}
Included Users: {{ $order->plan->included_users }}
{{$order->additional_users}}
{{$settings->currency_symbol}}{{ $order->amount }}
{{$order->payment_gateway}}
@if($order->status == OrderStatus::PENDING)
Pending
@elseif($order->status == OrderStatus::COMPLETED)
Completed
@elseif($order->status == OrderStatus::CANCELLED)
Cancelled
@else
{{$order->status}}
@endif
{{ $order->created_at->format('Y-m-d') }}
@if($order->status == OrderStatus::COMPLETED)
@else
N/A
@endif
@endforeach
@else
You have no order history.
@endif
Offline Requests
@if ($offlineRequests->isNotEmpty())
Request ID
Type
Plan
Amount
Additional Users
Total Amount
Status
Created At
Action
@foreach ($offlineRequests as $request)
{{ $request->id }}
{{ ucfirst($request->type->value) }}
{{ $request->plan->name }}
Duration: {{ $request->plan->duration }} {{ $request->plan->duration_type->value }}
Included Users: {{ $request->plan->included_users }}
{{$settings->currency_symbol. $request->plan->base_price }}
{{ $request->additional_users }}
{{$settings->currency_symbol. $request->total_amount }}
@if($request->status == OfflineRequestStatus::PENDING)
Pending
@elseif($request->status == OfflineRequestStatus::APPROVED)
Approved
@elseif($request->status == OfflineRequestStatus::REJECTED)
Rejected
@elseif($request->status == OfflineRequestStatus::CANCELLED)
Cancelled
@endif
{{ $request->created_at->format('Y-m-d') }}
@if ($request->status == OfflineRequestStatus::PENDING)
Cancel
@endif
@endforeach
@else
You have no offline requests.
@endif
Domain Requests
@if ($domainRequests->isNotEmpty())
Request ID
Domain
Status
Created At
Actions
@foreach ($domainRequests as $request)
{{ $request->id }}
{{ $request->name }}
@if($request->status == DomainRequestStatus::PENDING)
Pending
@elseif($request->status == DomainRequestStatus::APPROVED)
Approved
@elseif($request->status == DomainRequestStatus::REJECTED)
Rejected
@elseif($request->status == DomainRequestStatus::CANCELLED)
Cancelled
@endif
{{ $request->created_at->format('Y-m-d') }}
@if ($request->status == DomainRequestStatus::PENDING)
Cancel
@endif
@endforeach
@else
You have no domain requests.
@endif
{{--
Basic Information
Notification Settings
Business Information
--}}