@extends('layouts.customer') @section('content')

My Points

{{ $activePlanDetails['plan_name'] }} You have {{ auth()->user()->getUserWalletPoints() }} Caring Points

@php $imageName = ''; if($activePlanDetails['plan_id']==1){ $imageName = asset('front/image/silver.png'); }elseif($activePlanDetails['plan_id']==2){ $imageName = asset('front/image/gold.png'); }elseif($activePlanDetails['plan_id']==3){ $imageName = asset('front/image/platinum.png'); } $planDesc = ''; $maxPlanId = getMaxVipFeature(); $nextPlanData = getNextVipFeature($activePlanDetails['plan_id']); if($maxPlanId==$activePlanDetails['plan_id']){ $planDesc = 'You have reached at highest club now'; }else{ $planDesc = 'Earn '.($activePlanDetails['remaining_points']+1).' more points to reach '.$nextPlanData->name.' club'; } @endphp @if($imageName!='') @endif
{{ $planDesc }}
{{--

You have

{{ auth()->user()->getUserWalletPoints() }}

Caring point

--}}
{{ auth()->user()->getUserWalletPoints() }} points will expire on {{ $activePlanDetails['expired_at'] }}

Make just 1 transaction by the expire date to extend your points validity

{{--Learn more--}}
@endsection @section('scripts') @endsection