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

{{ trans('user.referral.link') }}

{{ trans('user.invite.logs') }}

@foreach ($referralUserList as $user) @endforeach
# {{ trans('model.user.username') }} {{ trans('user.registered_at') }}
{{ $loop->iteration }} {{ str_replace(mb_substr($user->username, 3, 4), '****', $user->username) }} {{ $user->created_at }}

{{ trans('user.referral.logs') }}

@foreach ($referralLogList as $referralLog) @endforeach
# {{ trans('model.aff.invitee') }} {{ trans('model.aff.amount') }} {{ trans('model.aff.commission') }} {{ trans('common.created_at') }} {{ trans('common.status.attribute') }}
{{ $loop->iteration + ($referralLogList->currentPage() - 1) * $referralLogList->perPage() }} {{ empty($referralLog->invitee) ? '【' . trans('common.deleted_item', ['attribute' => trans('common.account')]) . '】' : str_replace(mb_substr($referralLog->invitee->username, 3, 4), '****', $referralLog->invitee->username) }} {{ $referralLog->amount_tag }} {{ $referralLog->commission_tag }} {{ $referralLog->created_at }} {!! $referralLog->status_label !!}

{{ trans('user.withdraw_logs') }}

@foreach ($referralApplyList as $referralApply) @endforeach
# {{ trans('user.withdraw_at') }} {{ trans('user.withdraw_commission') }} {{ trans('common.status.attribute') }}
{{ $loop->iteration + ($referralApplyList->currentPage() - 1) * $referralApplyList->perPage() }} {{ $referralApply->created_at }} {{ $referralApply->amount_tag }} {!! $referralApply->status_label !!}
@endsection @section('javascript') @endsection