import{j as e,H as t,L as o}from"./app-CAqQVdqj.js";import{A as s}from"./AuthenticatedLayout-CQEcc2iz.js";const i=[{title:"Payment Tracker",description:"Track payment status of all shops for any month. See which shops are paid, pending, or overdue.",route:"reports.payment-tracker",color:"blue",icon:"📊"},{title:"Monthly Collection",description:"View total expected vs collected amounts for any month with invoice-level breakdown.",route:"reports.collection",color:"green",icon:"💰"},{title:"Owner Wise Report",description:"See rent collected and payments made per owner, with pending balances.",route:"reports.owner-wise",color:"purple",icon:"👤"},{title:"Tenant Dues Report",description:"View all tenants with outstanding rent or security deposit dues.",route:"reports.tenant-dues",color:"red",icon:"📋"},{title:"Owner Tree Report",description:"Group owners into trees and view their combined monthly & yearly income.",route:"reports.owner-tree",color:"indigo",icon:"🌳"}],n={blue:"border-blue-500 hover:bg-blue-50",green:"border-green-500 hover:bg-green-50",purple:"border-purple-500 hover:bg-purple-50",red:"border-red-500 hover:bg-red-50",indigo:"border-indigo-500 hover:bg-indigo-50"};function d(){return e.jsxs(s,{header:e.jsx("h2",{className:"text-xl font-semibold leading-tight text-gray-800",children:"Reports"}),children:[e.jsx(t,{title:"Reports"}),e.jsx("div",{className:"py-12",children:e.jsx("div",{className:"mx-auto max-w-4xl sm:px-6 lg:px-8",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:i.map(r=>e.jsx(o,{href:route(r.route),className:`block bg-white shadow-sm sm:rounded-lg border-l-4 p-6 transition-colors ${n[r.color]}`,children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("span",{className:"text-3xl",children:r.icon}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:r.title}),e.jsx("p",{className:"mt-1 text-sm text-gray-500",children:r.description})]})]})},r.route))})})})]})}export{d as default};
