@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->city != null) @endif @if($data->fax != null) @endif @if($data->zip != null) @endif
{{ __("City") }} {{$data->city}}
{{ __("Fax") }} {{$data->fax}}
{{ __("Zip Code") }} {{$data->zip}}
{{ __("Joined") }} {{$data->created_at->diffForHumans()}}

{{ __("Products Ordered") }}

@foreach($data->orders as $order) @endforeach
{{ __("Order ID") }} {{ __("Purchase Date") }} {{ __("Amount") }} {{ __("Status") }}
{{sprintf("%'.08d", $order->id)}} {{ date('Y-m-d h:i:s a',strtotime($order->created_at)) }} {{ $order->currency_sign . round($order->pay_amount * $order->currency_value , 2) }} {{ $order->status }} {{ __("Details") }}
{{-- MESSAGE MODAL --}}
{{-- MESSAGE MODAL ENDS --}} @endsection @section('scripts') @endsection