@extends('layouts.frontend') @section('content')
@if(date('d-m-Y') > date('d-m-Y', strtotime($planDetails->expire_at)) ) @endif
Status @if(strtotime(date('d-m-Y')) <= strtotime(date('d-m-Y', strtotime($planDetails->expire_at))) ) @if($planDetails->is_active == 1) Active @else Inactive @endif @else Inactive @endif
Start Date {{date_format($planDetails->created_at,'M d, Y')}}
Next Payment Date {{date('M d, Y', strtotime($planDetails->expire_at))}}
End Date {{date('M d, Y', strtotime($planDetails->expire_at))}}

Subscription Totals

PRODUCT TOTAL
@if($planDetails->subscription_type == 'free') Free Membership @else Paid Membership @endif ₹ {{number_format($planDetails->amount,2)}} / {{$planDetails->duration}} {{$planDetails->duration_name}}
Subtotal: ₹ {{number_format($planDetails->amount,2)}}
Total: ₹ {{number_format($planDetails->amount,2)}} / {{$planDetails->duration}} {{$planDetails->duration_name}}

Billing address

@if(isset($billingAddress->address1)) {{$billingAddress->address1}}
@endif @if(isset($billingAddress->company_name)) {{$billingAddress->company_name}}
@endif @if(isset($billingAddress->phone_no)) +91 {{$billingAddress->phone_no}}
@endif @if(isset($billingAddress->email)) {{$billingAddress->email}} @endif

@endsection