@extends('frontend.layouts.app') @section('title', app_name() . ' | ' . __('navs.frontend.dashboard') ) @section('content')
@include('frontend.user.account._menu')

Hello {{ $logged_in_user->name }}!

@foreach($data['notifications'] as $notification) @php \App\Models\Notification::find($notification->id)->increment('viewed'); @endphp @endforeach
Your Recent Orders
@if(sizeof($data['orders']) > 0)
@foreach($data['orders'] as $order) @endforeach
ID Ship-to Name Amount Purchase Date Status
{{ $order->id }} {{ $order->first_name . ' ' . $order->last_name }} ${{ number_format($order->grand_total, 2) }} {{ timezone()->convertToLocal($order->created_at, 'F jS, Y H:i') }} {{ \App\Models\Order::$statuses[$order->order_status] }}
@else Sorry!, no recent orders found. @endif
{{--
Your Unpaid Invoices
No unpaid invoices found for you.
--}}
@endsection