@if ($customer->name)
@endif
@if ($customer->dob)
@endif
@if ($customer->sex)
@endif
@if ($customer->description)
@endif
{{ trans('app.full_name') }}: |
{{ $customer->name }} |
{{ trans('app.email') }}: |
{{ $customer->email }} |
{{ trans('app.dob') }}: |
{!! date('F j, Y', strtotime($customer->dob)) . ' (' . get_age($customer->dob) . ')' !!} |
{{ trans('app.sex') }}: |
{!! get_formated_gender($customer->sex) !!} |
{{ trans('app.description') }}: |
{!! $customer->description !!} |
@foreach ($customer->addresses as $address)
{!! $address->toHtml() !!}
@unless ($loop->last)
@endunless
@endforeach
@if (config('system_settings.address_show_map') && $customer->primaryAddress)
{{ trans('app.map_location') }}
@endif
@if (Auth::user()->isFromPlatform())
@if ($customer->latest_orders->count())
@foreach ($customer->latest_orders as $order)
@endforeach
{{ trans('app.order_number') }} |
{{ trans('app.grand_total') }} |
{{ trans('app.payment') }} |
{{ trans('app.status') }} |
{{ trans('app.order_date') }} |
{{ $order->order_number }} |
{{ get_formated_currency($order->grand_total, 2, $order->currency_id) }} |
{!! $order->paymentStatusName() !!} |
{!! $order->orderStatus() !!} |
{{ $order->created_at->toFormattedDateString() }} |
@else
{{ trans('messages.no_orders') }}
@endif
@endif