@extends('template.master') @section('title', 'Subscription Options') @section('content')
{{-- --}}
@foreach ($data as $item) @if (isset(Auth::guard('app_user')->user()->subscription_id) && Auth::guard('app_user')->user()->subscription_id == $item->subscription_id)

{{ $item->subscription_name }}

@if(Auth::guard('app_user')->user()->subscription_type == 1) ${{number_format($item->subscription_price_per_month,2) }} / Monthly {{--

{{ strip_tags(preg_replace('/\s+/', '', $item->subscription_content)) }}

--}} @else ${{number_format($item->subscription_price_per_year,2) }} / Year @endif

{{ strip_tags(preg_replace('/\s+/', '', $item->subscription_content)) }}

@else

{{ $item->subscription_name }}

@csrf

{{ strip_tags(preg_replace('/\s+/', '', $item->subscription_content)) }}

@endif @endforeach
@endsection @push('child-scripts') @endpush