@extends('layouts.back-end.app') {{--@section('title','Customer')--}} @section('title', \App\CPU\translate('Customer Details')) @push('css_or_js') @endpush @section('content')

{{\App\CPU\translate('customer_details')}}

{{\App\CPU\translate('Customer ID')}} #{{$customer['id']}}

{{\App\CPU\translate('Joined At')}} : {{date('d M Y H:i:s',strtotime($customer['created_at']))}}
@foreach($orders as $key=>$order) @endforeach
{{\App\CPU\translate('sl')}} {{\App\CPU\translate('Order ID')}} {{\App\CPU\translate('Total')}} {{\App\CPU\translate('Action')}}
{{$orders->firstItem()+$key}} {{$order['id']}} {{\App\CPU\BackEndHelper::set_symbol(\App\CPU\BackEndHelper::usd_to_currency($order['order_amount']))}}
@if(count($orders)==0)
Image Description

{{ \App\CPU\translate('No_data_to_show')}}

@endif
@if($customer)

{{\App\CPU\translate('Customer')}}

Image
{{$customer['f_name'].' '.$customer['l_name']}} {{\App\Model\Order::where('customer_id',$customer['id'])->count()}} {{\App\CPU\translate('orders')}} {{$customer['phone']}} {{$customer['email']}}
{{----}}
@endif
@endsection @push('script_2') @endpush