@extends('layouts.customer')
@section('auth_type', 'customer')
@section('body_attributes')
@endsection
@section('head')
Mangalore Stores
@endsection
@section('content')
@endsection
@push('scripts')
{{--
Page Script:
File: my-account.js
Location: public/common/js/customer/my-account.js
Used For: my-account page specific actions.
--}}
{{-- =====================================================
JS FILE CONNECTIONS FOR THIS BLADE FILE
Page: Customer My Account
Blade File: resources/views/customer/my-account.blade.php
1. JS File:
public/common/js/customer/my-account.js
Load Type:
- Pushed via @stack('scripts') in customer layout.
Purpose:
- Fetch customer profile and populate account summary cards.
- Update cart, orders, wishlist, and address counts.
- Customer logout with SweetAlert confirmation.
- Token authentication check.
2. Inherited from customer layout (layouts/customer.blade.php):
- public/common/js/api.js (Shared API client)
- public/common/js/customer/auth-check.js (Auth guard)
- public/common/js/customer/header-dynamic.js (Header state, cart sidebar)
- public/common/js/customer/legacy-pages.js (Legacy dynamic behavior)
- SweetAlert2 plugin
===================================================== --}}
@endpush