@extends('user.layouts.template') @section('styles') @endsection @section('content')
Subscription Management My Subscription

Subscription

Package Name {{ $data['current_plan_name'] }}
Invoice View Invoice
Package Start Date {{ $data['package_start_date'] }}
@if (date('Y-m-d', strtotime(Auth::user()->valid_plan_date)) > date('Y-m-d'))
Package End Date {{ $data['package_end_date'] }}
@elseif(date('Y-m-d', strtotime(Auth::user()->valid_plan_date)) < date('Y-m-d'))
Grace Period Date {{ $data['grace_period_date'] }}
@endif
Pricing ${{ round($data['current_plan_cost']) }}/{{ $data['current_plan_duration'] }}
Last Billing {{ $data['package_start_date'] }}
Payment Status {{ $payment->status }}

{{--
Auto-Renewal
product_name == 'Subscription Plan') checked @endif>
--}} @if ($subscription_history->event_type != 'cancelled') @if ($payment->product_name != 'One-time Payment') @endif @endif

My Features

@foreach ($plan as $pn)

{{ $pn->plan_name }}

${{ $pn->monthly_offer_price }}/mo

id == Auth::user()->interested_plan && Auth::User()->interested_duration == 1 ? 'checked' : '' }} data-price="{{ $pn->monthly_offer_price }}"> {{-- $url = "/up-grade/{{ $pn->plan_name}}/monthly/paid"; --}}
id == Auth::user()->interested_plan && Auth::User()->interested_duration == 2 ? 'checked' : '' }} data-price="{{ $pn->quaterly_offer_price }}">
id == Auth::user()->interested_plan && Auth::User()->interested_duration == 3 ? 'checked' : '' }} data-price="{{ $pn->halfyearly_offer_price }}">
id == Auth::user()->interested_plan && Auth::User()->interested_duration == 4 ? 'checked' : '' }} data-price="{{ $pn->yearly_offer_price }}">
  • {{ $pn->number_of_property }}
  • {{ $pn->number_of_team_members }}
  • {{ $pn->description }}
@if ($pn->id == 11) interested_plan == $pn->id ? 'disabled' : '' }}> Upgrade @elseif ($pn->id == 12) Renew @endif
@endforeach
@endsection