@extends('layout') @section('content')

{{auth()->user()->name}} account

Player

Name : {{auth()->user()->name}}

SteamID : {{auth()->user()->steamID}}

Implant ID : {{!empty(auth()->user()->playerID) ? auth()->user()->playerID : 'Waiting admin validation'}}

Orders

@if(count(auth()->user()->orders) > 0) @foreach(auth()->user()->orders as $order) @endforeach
NoDateProductsStatus
{{$order->id}} date @foreach($order->lines as $line) {{$line->product->title}} * {{$line->qty}}
@endforeach
@switch($order->status) @case(\App\Models\Order::statusWaiting) Waiting payment @break @case(\App\Models\Order::statusPaid) Paid @break @endswitch
@else

No order

@endif
@stop