@extends('admin.layouts.master')
@section('breadcrumb')
Store
| Shop Name
|
Total Registered Events
|
Active Events
|
User Plan
On Trial @else Trial Ended @endif @endif |
First Installation DateTime
|
Address
|
| Shop Owner
|
Total Registered Channels
|
Active Channels
|
Unlimited allowed quota by Admin
|
Last Opened
|
Province
|
| MyShopify Domain
|
Total Processed Jobs
|
Remaining Jobs
|
Usage Based Charge API Tries
|
Uninstalled At
|
Language
|
| Domain
|
@php
$active_trial = \App\Entities\PlansHistory::where('shop_id', $store->shop_id)
->where('charge_status', 'ACTIVE')
->where('charge_type', 'recurring')
->where('is_trial', true)
->whereNotNull('trial_ends_at')
->latest('created_at')
->first();
@endphp
Trial Status
|
Trial Started
|
Shopify Plan Name
|
Shop Timezone
|
|
| Trial Ends At
|
Trial Days
|
Time Remaining
|
@endif
Has Used Trial
|
||
| Owner Email
|
| Plan Type | Charge Status | Charge Type | Created At | Price | Description | Charge ID | Balance Remaining | Risk Level | Trial Info |
|---|---|---|---|---|---|---|---|---|---|
| {{ ucfirst($plans_history->plan_type) }} | @php $statusClasses = ['ACTIVE' => 'badge-primary','FAILED' => 'badge-error','PENDING'=> 'badge-warning',]; $badgeClass = $statusClasses[$plans_history->charge_status] ?? 'badge-warning'; @endphp {{ $plans_history->charge_status ?? 'None' }} | {{ ucwords(str_replace('_', ' ', $plans_history->charge_type)) }} | {{ $plans_history->created_at }} | {{ $plans_history->price }} | {{ $plans_history->description }} | {{ $plans_history->charge_id }} | {{ $plans_history->balance_remaining }} | {{ $plans_history->risk_level }} |
@if($plans_history->is_trial)
Trial
@if($plans_history->trial_days)
@else
No Trial
@endif
{{ $plans_history->trial_days }} days @endif @if($plans_history->trial_ends_at) Ends: {{ \Carbon\Carbon::parse($plans_history->trial_ends_at)->format('M j, Y') }} @endif |