Details
Name:
{{$sub->name}}

Email:
{{$sub->email}}

@php $fields = json_decode($sub->fields, true); // dd($fields) @endphp @foreach ($fields as $key => $field)
{{str_replace("_"," ",$key)}}:
@if (is_array($field['value'])) @php $str = implode(", ", $field['value']); @endphp {{$str}} @else @if ($field['type'] == 5) Download @else {{$field['value']}} @endif @endif

@endforeach @if (request()->input('type') != 'request') @if ($sub->current_package)
Current Package:
{{ $sub->current_package->title }}

Current Package Price:
{{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}} {{ $sub->current_package->price }} {{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}}

Current Package Payment Method:
{{$sub->current_payment_method}}

@endif @if ($sub->next_package)
Next / Upcoming Package:
{{ $sub->next_package->title }}

Next Package Price:
{{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}} {{$sub->next_package->price}} {{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}}

Next Package Payment Method:
{{$sub->next_payment_method}}

@endif
Status:
@if ($sub->status == 1) Active @elseif ($sub->status == 0) Expired @endif

@else @if ($sub->pending_package)
Pending Package:
{{ $sub->pending_package->title }}

Pending Package Price:
{{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}} {{$sub->pending_package->price}} {{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}}

Pending Package Payment Method:
{{$sub->pending_payment_method}}

@endif @endif