@extends('layouts.admin') @section('styles') @endsection @section('content')
{{ __('ID#') }} {{ $data->id }}
{{ __('Name') }} {{ $data->name }}
{{ __('Email') }} {{ $data->email }}
{{ __('Phone') }} {{ $data->phone }}
{{ __('Address') }} {{ $data->address }}
@if ($data->city != null) @endif @if ($data->fax != null) @endif @if ($data->zip != null) @endif
{{ __('City') }} {{ $data->city }}
{{ __('Fax') }} {{ $data->fax }}
{{ __('Zip Code') }} {{ $data->zip }}
{{ __('Joined') }} @php \Carbon\Carbon::setLocale($lang->locale); @endphp {{ $data->created_at->diffForHumans() }}

{{ __('Products Ordered') }}

@foreach ($data->orders as $order) @php $order_curr = $currencies->firstWhere('sign', $order->currency_sign); if (empty($order_curr)) { $order_curr = $currencies->first(); } @endphp @endforeach
{{ __('Order ID') }} {{ __('Purchase Date') }} {{ __('Amount') }} {{ __('Status') }}
{{ sprintf("%'.08d", $order->id) }} {{ date('d-m-Y h:i:s a', strtotime($order->created_at)) }}{{ $order->currency_sign . number_format( $order->pay_amount * $order->currency_value, $order_curr->decimal_digits, $order_curr->decimal_separator, $order_curr->thousands_separator, ) }} {{ __($order->status) }} {{ __('Details') }}
{{-- MESSAGE MODAL --}}
{{-- MESSAGE MODAL ENDS --}} @endsection @section('scripts') @endsection