// Location: /pwa/assets/pwa_dummy_data.js
window.PWA_DUMMY = {
    solar: {
        kpi: {
            total_customers: 18,
            new_this_month: 5,
            followups_today: 7,
            tasks_today: 3
        },
        customers: [
            { id: 1, name: "Ramesh Kumar",   type: "Domestic",  city: "Patna",        kw: 3.0 },
            { id: 2, name: "Sunrise Store",  type: "Commercial", city: "Patna",       kw: 10.0 },
            { id: 3, name: "Anita Devi",     type: "Domestic",  city: "Gaya",         kw: 5.0 },
            { id: 4, name: "Modern Clinic",  type: "Clinic",    city: "Gopalganj",    kw: 7.5 }
        ],
        followups: [
            { id: 101, customer: "Ramesh Kumar",   last: "Yesterday",   next: "Today",    status: "Pending" },
            { id: 102, customer: "Sunrise Store",  last: "2 days ago",  next: "Tomorrow", status: "Pending" },
            { id: 103, customer: "Anita Devi",     last: "Today",       next: "—",        status: "Done" }
        ],
        tasks: [
            { id: 201, title: "Site visit – Ramesh",       due: "Today",    priority: "High",    status: "Open" },
            { id: 202, title: "Doc collection – Sunrise",  due: "Tomorrow", priority: "Medium",  status: "Open" }
        ]
    },
    captain: {
        kpi: {
            total_customers: 72,
            new_this_month: 21,
            followups_today: 19,
            tasks_today: 9
        },
        customers: [
            { id: 301, name: "Zone A Customers", type: "Domestic",    city: "Patna",   kw: 45.0 },
            { id: 302, name: "Zone B Customers", type: "Commercial",  city: "Gaya",    kw: 60.5 }
        ],
        followups: [
            { id: 401, customer: "Zone A Leads",         last: "Today",     next: "Today",    status: "Pending" },
            { id: 402, customer: "Zone B Customers",     last: "Yesterday", next: "Tomorrow", status: "Pending" }
        ],
        tasks: [
            { id: 501, title: "Review daily followups",  due: "Today",    priority: "High",   status: "Open" }
        ]
    },
    statehead: {
        kpi: {
            total_customers: 245,
            new_this_month: 60,
            followups_today: 58,
            tasks_today: 17
        },
        customers: [
            { id: 601, name: "North Region", type: "Domestic",   city: "Multiple", kw: 120.0 },
            { id: 602, name: "South Region", type: "Commercial", city: "Multiple", kw: 180.0 }
        ],
        followups: [
            { id: 701, customer: "North Region Captains", last: "Today", next: "Today", status: "Pending" }
        ],
        tasks: [
            { id: 801, title: "State review meeting", due: "Friday", priority: "High", status: "Open" }
        ]
    }
};
