@extends('layouts.back-end.app') @section('title','Customer') @section('title','Customer Details') @push('css_or_js') @endpush @section('content')

Customer ID #{{$customer['id']}}

Joined At : {{date('d M Y H:i:s',strtotime($customer['created_at']))}}
@foreach($orders as $key=>$order) @endforeach
#sl Order ID Total Action
{{----}}
{{$key+1}} {{$order['id']}} {{\App\CPU\BackEndHelper::usd_to_currency($order['order_amount']).' '.\App\CPU\BackEndHelper::currency_symbol()}}

Customer

@if($customer)
Image Description
{{$customer['f_name'].' '.$customer['l_name']}}
{{----}}

{{\App\Models\Order::where('customer_id',$customer['customer_id'])->count()}} orders
{{----}}

Contact info
  • {{$customer['email']}}
  • {{$customer['phone']}}

{{trans('messages.shipping_address')}}
@if(isset($order)) {{trans('messages.Name')}} : {{$order->shipping ? $order->shipping['contact_person_name'] : "empty"}}
{{trans('messages.City')}}: {{$order->shipping ? $order->shipping['city'] : "Empty"}}
{{trans('messages.zip_code')}} : {{$order->shipping ? $order->shipping['zip'] : "Empty"}}
{{trans('messages.Phone')}}: {{$order->shipping ? $order->shipping['phone'] : "Empty"}}
@endif
@endif
@endsection @push('script_2') @endpush