@extends('frontEnd.layouts.master') @section('title', 'Customer Account') @section('content')
@include('frontEnd.layouts.customer.sidebar')
@php $customer = \App\Models\Customer::with('cust_area')->find(Auth::guard('customer')->user()->id); @endphp
Profile

{{ $customer->name }}

{{ $customer->district ?? 'Location not set' }}

Full Name

{{ $customer->name }}

Phone Number

{{ $customer->phone }}

Email Address

{{ $customer->email }}

District & Area

{{ $customer->district }} {{ $customer->cust_area ? ' - ' . $customer->cust_area->area_name : '' }}

Shipping Address

{{ $customer->address ?? 'No address provided.' }}

@endsection @push('script') @endpush