@extends('frontend.layouts.default') @php $page_title = $taxonomy->title ?? ($page->title ?? ($page->name ?? '')); $image_background = $taxonomy->json_params->image_background ?? ($web_information->image->background_breadcrumbs ?? ''); @endphp @section('content') {{-- Print all content by [module - route - page] without blocks content at here --}}

{{ $page_title }}

Avatar

{{ $detail->name ?? '' }}

{{ __('Affiliate code') . ': ' . $detail->affiliate_code ?? '' }} {{ __('Affiliate link') . ': ' }} {{ route('frontend.affiliate', ['affiliate_code' => $detail->affiliate_code]) }}
  • @lang('Username'): {{ $detail->email ?? '' }}
  • @lang('Affiliate agent'): {{ $detail->affiliate_agent ?? '' }}
  • @lang('Total point earned'): {{ number_format($detail->total_score + $detail->total_payment) }}
  • @lang('Total money earned'): {{ number_format($detail->total_money + $detail->total_payment) }}
  • @lang('Total payment'): {{ number_format($detail->total_payment) }}
  • @lang('Total point available'): {{ number_format($detail->total_score) }}
  • @lang('Total money available'): {{ number_format($detail->total_money) }}

@lang('Minimum amount per withdrawal'): {{ number_format(\App\Consts::WITHDRAW_MIN) }}

@lang('Maximum amount you can withdraw'): {{ number_format($detail->total_money) }}

@csrf
@foreach ($affiliate_historys as $item) @endforeach
# @lang('Is type') @lang('Order total money') @lang('Affiliate percent') @lang('Affiliate point') @lang('Affiliate money') @lang('Status') @lang('Created at')
{{ $loop->index + 1 }} @lang($item->is_type) {{ number_format($item->order_total_money) }} {{ $item->affiliate_percent }} % {{ number_format($item->affiliate_point) }} {{ number_format($item->affiliate_money) }} @lang($item->status) {{ \Carbon\Carbon::parse($item->created_at)->format('H:i:s d/m/Y') }}
@foreach ($affiliate_payments as $item) @endforeach
# @lang('Withdraw amount') @lang('Bank information') @lang('Admin note') @lang('Status') @lang('Created at')
{{ $loop->index + 1 }} {{ number_format($item->money) }} {!! nl2br($item->description) !!} {!! nl2br($item->json_params->admin_note ?? '') !!} @lang($item->status) {{ \Carbon\Carbon::parse($item->created_at)->format('H:i:s d/m/Y') }}
{{-- End content --}} @endsection