@extends('account_layout') @section('account_content')
@if($customer->middle_name)
{{ $customer->first_name }} {{ $customer->last_name }}
@else
{{ $customer->first_name }} {{ $customer->middle_name }} {{ $customer->last_name }}
@endif
{{ $order_count }}
Orders
{{--
0
Comments
0
Coupons
--}}
Account Information
@if($customer["b_day"] != "0000-00-00")
Birthday
{{ date( "F d, Y", strtotime($customer["b_day"]) ) }}
@endif {{--
Gender
--}}
Contact Number
{{ $customer->customer_mobile }}
Default Address
{{ $customer->customer_street }}
Recently Viewed Products
@if(count($recently_viewed) > 0) @foreach($recently_viewed as $viewed)
{{ get_product_first_name($viewed->product) }}
@endforeach @else

No recently viewed products

@endif
@endsection @section('css') @endsection