@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 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

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

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

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

{{\App\CPU\translate('Contact info')}}
  • {{$customer['email']}}
  • {{$customer['phone']}}

@endif
@endsection @push('script_2') @endpush