@php
$points = auth()->user()->getUserWalletPoints();
if($points > 0 && auth()->user()->coin_expired_at){
$titleText = $points." ".config('constants.points_name')." will expire on ". date('d M Y', strtotime(auth()->user()->coin_expired_at)) ?? '';
$subTitleText = "Make just 1 transaction by the expire date to extend your coins validity";
}else{
$titleText = "You have ".$points." coins.";
$subTitleText = "Make a purchase to start earning Clover Coins.";
}
@endphp
{{ $titleText }}
{{ $subTitleText }}
{{--
Learn more--}}