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

{{__('Customer Details')}}

{{__('First Name:')}}
{{$user->fname}}
{{__('Last Name:')}}
{{$user->lname}}
{{__('Username:')}}
{{$user->username}}
{{__('Email:')}}
{{$user->email}}
{{__('Number:')}}
{{$user->number}}
{{__('Country:')}}
{{$user->country}}
{{__('City:')}}
{{$user->city}}
{{__('Address:')}}
{{$user->address}}

{{__('Shipping Details')}}

{{__('Email:')}}
{{$user->billing_email}}
{{__('Phone:')}}
{{$user->billing_number}}
{{__('City:')}}
{{$user->billing_city}}
{{__('Address:')}}
{{$user->billing_address}}
{{__('Country:')}}
{{$user->billing_country}}

{{__('Billing Details')}}

{{__('Email:')}}
{{$user->billing_email}}
{{__('Phone:')}}
{{$user->billing_number}}
{{__('City:')}}
{{$user->billing_city}}
{{__('Address:')}}
{{$user->billing_address}}
{{__('Country:')}}
{{$user->billing_country}}

Orders of [{{ $user->username}}]

@foreach ($orders as $key => $order) @endforeach
Date Total Payment Status Order Status Details
{{convertUtf8($order->created_at->format('d-m-Y'))}} {{$order->currency_symbol_position == 'left' ? $order->currency_symbol : ''}} {{round($order->total,2)}} {{$order->currency_symbol_position == 'right' ? $order->currency_symbol : ''}} @if ($order->payment_status == 'Pending' || $order->payment_status == 'pending')

{{$order->payment_status}}

@else

{{$order->payment_status}}

@endif
@csrf
View
{{$orders->links()}}
@endsection