@extends('admin.layout') @section('title',__('Show user')) @section('css') @endsection @section('breadcrump')

{{$user->name}}

@endsection @section('content')

{{ __('User information') }}

@can('edit_user') @endcan
{{__('Name')}} {{$user->name}}
{{__('Email')}} {{$user->email}}
{{__('Phone')}} {{$user->phone}}
{{__('State')}} @if(isset($user['state'])){{$user['state']['name']}}@endif
{{__('City')}} @if(isset($user['city'])){{$user['city']['name']}}@endif
{{__('Address')}} {{$user->address}}
{{__('Marketer Brand')}} {{$user->brand}}
{{ __('Confirmed balance') }} {{formated_price($user->confirmed_balance)}}
{{ __('Hold balance') }} {{formated_price($user->hold_balance)}}
{{ __('Paid balance') }} {{formated_price($user->paid_balance)}}
{{ __('Available balance') }} {{formated_price($user->total_balance)}}
{{__('Status')}}
{{ __('Note for admin') }} {{$user->note}}
{{__('Store information')}}
{{__('Store name english')}} {{($user->store_name_en)}}
{{__('Store address')}} {{($user->store_address)}}
{{__('Store outlet')}} {{($user->store_outlet)}}
{{__('Pickup points')}} {{($user->pickup_points)}}
{{__('Store commission')}} {{($user->store_commission)}}%
{{__('Meta title')}} {{($user->meta_title)}}
{{__('Meta description')}} {{($user->meta_description)}}
{{__('Facebook link')}} {{$user->facebook_link}}
{{__('Telegram link')}} {{$user->telegram_link}}
{{__('Whats app link')}} {{($user->whatsapp_link)}}

{{ __('User statistics') }}

{{$total_orders}}

{{__('Total Orders')}}

{{formated_price($total_payments)}}

{{__('Total Payments')}}

{{formated_price($total_commission)}}

{{__('Total Earning')}}

{{ __('User orders') }}

{{$pending_orders}}

{{__('New orders')}}

{{$hold_orders}}

{{__('Hold orders')}}

{{$confirmed_orders}}

{{__('Confirmed orders')}}

{{$sending_orders}}

{{__('Sending')}}

{{$delivered_orders}}

{{__('Delivered orders')}}

{{$canceled_orders}}

{{__('Canceled orders')}}

{{$price_being_received_orders}}

{{__('The price is being received')}}

{{ __('Balance') }}

{{formated_price($user->confirmed_balance)}}

{{__('Confirmed balance')}}

{{formated_price($user->hold_balance)}}

{{__('Hold balance')}}

{{formated_price($user->paid_balance)}}

{{__('Paid balance')}}

{{formated_price($user->total_balance)}}

{{__('Available balance')}}

{{ __('Orders details') }}

@foreach($user->orders as $order) @endforeach
# {{__('Status')}} {{__('Subtotal')}} {{__('Commission')}} {{__('Shipping')}} {{__('Total')}} {{__('Details')}}
{{$order->id}} {{formated_price($order->subtotal)}} {{formated_price($order->commission)}} {{formated_price($order->shipping)}} {{formated_price($order->total)}}
@include('admin.pages.orders.status_modal') @include('admin.pages.users._form') @endsection @section('scripts') @include('admin.pages.users.show_js') @endsection