@extends('layouts.admin.app') @section('title',\App\Utils\translate('customer_details')) @push('css_or_js') @endpush @section('content')

{{\App\Utils\translate('customer')}} {{\App\Utils\translate('id')}}#{{$customer['id']}}

{{\App\Utils\translate('joined_at')}} : {{date('d M Y H:i:s',strtotime($customer['created_at']))}}

{{\App\Utils\translate('order_table')}} {{$orders->total()}}

@foreach($orders as $key=>$order) @endforeach
{{\App\Utils\translate('#')}} {{\App\Utils\translate('order')}} {{\App\Utils\translate('id')}} {{\App\Utils\translate('total')}} {{\App\Utils\translate('action')}}
{{$orders->firstItem()+$key}} {{$order['id']}} {{ priceCurrencyFormatPlacing($order->order_amount + $order->total_tax - $order->extra_discount - $order->coupon_discount_amount, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }}
@if(count($orders)==0)
{{\App\Utils\translate('Image Description')}}

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

@endif

{{\App\Utils\translate('customer')}}

@if($customer)
{{\App\Utils\translate('Image Description')}}
{{$customer['name']}}

{{ $orders->total() }} {{\App\Utils\translate('orders')}}
{{ priceCurrencyFormatPlacing($customer->balance, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }}

@if ($customer->id!=0)
{{\App\Utils\translate('contact_info')}}
  • {{$customer['mobile']}}
  • @if ($customer['email'])
  • {{$customer['email']}}
  • @endif

{{\App\Utils\translate('addresses')}}
  • {{\App\Utils\translate('state')}}: {{$customer['state']}}
  • {{\App\Utils\translate('city')}}: {{$customer['city']}}
  • {{\App\Utils\translate('zip_code')}}: {{$customer['zip_code']}}
  • {{\App\Utils\translate('address')}}: {{$customer['address']}}
@endif
@endif
@endsection @push('script_2') @endpush