@extends('layouts.master') @section('title') ข้อมูลส่วนตัว @endsection @section('sub_title') ข้อมูลส่วนตัว @endsection @section('content')
Image placeholder
{{-- Connect Message --}}
{{--
22 Friends
10 Photos
89 Comments
--}}
{{ $user->username }}
{{ $user->name }}
Level : {{ positionText($user->position) }}
{{--
Level : {{ positionText($user->position) }}
--}}
{{--
จำนวนเอเยนต์ของคุณ
--}}
@csrf @method('PUT')

เปลี่ยนรหัสผ่าน

รหัสผ่านไม่ตรงกัน
รหัสผ่านไม่ตรงกัน
เครดิตปัจจุบัน
{{ number_format($user->wallet->sum('amount')) }} THB
{{--

3.48% Since last month

--}}
เครดิตลอย
{{ number_format($user->wallet->where('is_credit', 1)->sum('amount')) }} THB
{{--

3.48% Since last month

--}}
เงินสด
{{ number_format($user->wallet->where('is_credit', 0)->sum('amount')) }} THB
{{--

3.48% Since last month

--}}

อัตราการจ่าย และส่วนลด

@if ($user->agentCommission->where('country', session('lottery'))->count()) @foreach ($user->agentCommission->where('country', session('lottery'))->first()->commission as $line => $lineData)
  • ไลน์ส่วนลด {{ strtoupper($line) }}
  • @foreach ($lineData as $type => $data)
  • {{ $type }}
    อัตราจ่าย {{ $data['payment'] }}
    ส่วนลด {{ $data['discount'] }}%
  • @endforeach
@endforeach @else

ไม่มีข้อมูล

@endif

ขั้นต่ำต่อไม้ / สูงสุดต่อไม้ / สูงสุดต่อหมายเลข

@if ($user->agentLimit->where('country', session('lottery'))->count()) @foreach ($user->agentLimit->where('country', session('lottery'))->first()->limit as $type => $limitData)
  • {{ $type }}
  • ขั้นต่ำต่อไม้
    {{ $limitData['min'] }}
    สูงสุดต่อไม้
    {{ $limitData['max'] }}
    สูงสุดต่อหมายเลข
    {{ $limitData['max_per_number'] }}
@endforeach @else

ไม่มีข้อมูล

@endif

อัตราเปอร์เซ็นต์ถือสู้

@if ($user->agentPercent->where('country', session('lottery'))->count()) @foreach ($user->agentPercent->where('country', session('lottery'))->first()->percent as $type => $datas)
  • {{ $type }}
  • @foreach ($datas as $position => $data)
    {{ positionText($position) }}
    {{ $data }}%
    @endforeach
@endforeach @else

ไม่มีข้อมูล

@endif
@endsection @section('scripts') @endsection