@extends('layouts.admin') @section('styles') @endsection @section('content')
@if($data->is_provider == 1) No Image @else No Image @endif {{ __("Send Message") }}
{{ __("ID#") }} {{$data->id}}
{{ __("Name") }} {{$data->name}}
{{ __("Email") }} {{$data->email}}
{{ __("Phone") }} {{$data->phone}}
{{ __("Address") }} {{$data->address}}
@if($data->country != null) @endif @if($data->city_id != null) @endif @if($data->state_id != null) @endif @if($data->fax != null) @endif @if($data->zip != null) @endif
{{ __("Country") }} {{$data->country}}
{{ __("City") }} {{$data->city->city_name}}
{{ __("State") }} {{$data->state->state}}
{{ __("Fax") }} {{$data->fax}}
{{ __("Zip Code") }} {{$data->zip}}
{{ __("Joined") }} {{$data->created_at->diffForHumans()}}

{{ __("Products Ordered") }}

@foreach($data->orders as $order) @endforeach
{{ __("Order ID") }} {{ __("Purchase Date") }} {{ __("Order Amount") }} {{ __("Status") }}
{{sprintf("%'.08d", $order->order->id)}} {{ Carbon\Carbon::parse($order->created_at)->format('d/m/Y') }} {{ \PriceHelper::showOrderCurrencyPrice(($order->order->pay_amount * $order->order->currency_value),$order->order->currency_sign) }} {{ ucwords($order->status) }} {{ __("Details") }}
{{-- MESSAGE MODAL --}}
{{-- MESSAGE MODAL ENDS --}} @endsection @section('scripts') @endsection