@extends('user.layouts') @section('css') @endsection @section('content')

{{trans('home.referral_my_link')}}

{{trans('home.invite_user_title')}}

@foreach($referralUserList as $vo) @endforeach
# {{trans('home.invite_user_email')}} {{trans('home.invite_user_created_at')}}
{{$loop->iteration}} {{str_replace(mb_substr($vo->email, 3, 4), "****", $vo->email)}} {{$vo->created_at}}

{{trans('home.referral_title')}}

@foreach($referralLogList as $referralLog) @endforeach
# {{trans('home.referral_table_date')}} {{trans('home.referral_table_user')}} {{trans('home.referral_table_amount')}} {{trans('home.referral_table_commission')}} {{trans('home.referral_table_status')}}
{{$loop->iteration}} {{$referralLog->created_at}} {{empty($referralLog->invitee) ? '【账号已删除】' : str_replace(mb_substr($referralLog->invitee->email, 3, 4), "****", $referralLog->invitee->email)}} ¥{{$referralLog->amount}} ¥{{$referralLog->commission}} @if ($referralLog->status === 1) 申请中 @elseif($referralLog->status === 2) 已提现 @else 未提现 @endif

{{trans('home.referral_apply_title')}}

@foreach($referralApplyList as $vo) @endforeach
# {{trans('home.referral_apply_table_date')}} {{trans('home.referral_apply_table_amount')}} {{trans('home.referral_apply_table_status')}}
{{$loop->iteration}} {{$vo->created_at}} ¥{{$vo->amount}} @if ($vo->status === 0) 待审核 @elseif($vo->status === 1) 审核通过 - 待打款 @elseif($vo->status === 2) 已打款 @else 驳回 @endif
@endsection @section('script') @endsection