@if ($status == 'dashboard') {{ 'Dashboard' }} @elseif ($status == 'orders') {{ 'Orders' }} @elseif ($status == 'settings') {{ 'Settings' }} @endif
@if ($status == 'dashboard')| ID | Date | Total | Name | Phone | Address | Payment Status | @foreach ($orders as $key => $order)
|---|---|---|---|---|---|---|
| {{ ++$key }} | {{ $order->created_at->format('Y-m-d') }} | €{{ number_format($order->order_total, 2) }} | {{ ucwords($order->name) }} | {{ $order->contact_number }} | {{ ucfirst($order->home_no . ', ' . $order->street . ', ' . $order->city . ' (' . $order->postal_code . '), ' . $order->state . ', ' . $order->country . '.') }} | {{ $order->payment_status }} |