@extends('layouts.app') @section('content')
Manage your master customer profiles database, unique contact entries, and demographic insights.
| Sr. No. | Customer Name | Contact Number | Home City | {{-- 📍 ADDED: Structural Billing Columns --}}Latest Bill | Purchase Date | Actions |
|---|---|---|---|---|---|---|
| {{ $customers->firstItem() + $index }} | {{ $customer->name }} @if($customer->notes) @endif | {{ $customer->contact }} | {{ $customer->city }} | {{-- 📍 Live Relationship Data Injection --}}₹{{ $latestBill ? number_format($latestBill->bill_amount, 2) : '0.00' }} | {{ $latestBill ? \Carbon\Carbon::parse($latestBill->purchase_date)->format('d M, Y') : 'N/A' }} | |
| No customer master profiles found. | ||||||