@php $type = isset($type) ? $type : false; $card_id = (isset($attr['id']) && !empty($attr['id'])) ? ' id="'.$attr['id'].'"' : ''; $card_class = (isset($attr['class']) && !empty($attr['class'])) ? ' '.$attr['class'] : ''; @endphp @if ($type=='cards')
@endif @if ($type == 'invite' || $type == 'invite-card' || $type == 'cards') @if($type == 'invite-card')
@endif
{{ __(sys_settings('referral_invite_title', 'Refer Use & Earn')) }}
@if(sys_settings('referral_invite_text'))
{{ __(sys_settings('referral_invite_text', 'Use the below link to invite your friends.')) }}
@endif
{{-- --}}
{{ __("Copy Link") }}
@if($type == 'invite-card')
@endif @endif @if ($type == 'stats' || $type == 'stats-card' || $type == 'cards') @if($type=='stats-card')
@endif
{{ __('My Referral') }}
{{ $referrals['total'] ?? 0 }}
{{ __('Total Joined') }}
{{ $referrals['month'] ?? 0 }}
{{ __('This Month') }}
@if(has_route('referrals')) @endif
@if(!empty($referrals['chart']))
@endif
@if ($type == 'stats-card')
@endif @endif @if($type=='cards')
@endif