1import{j as e,a as p,J as t}from"./app-5HZrl6Of.js";import{M as b}from"./MainLayout-DNKHYpUT.js";import{A as j,aG as u,t as N,ab as i,aH as r,ae as o,aI as n,x as d,H as f,at as v,au as y,G as c,W as w,aJ as k,z as A,aK as S,L as x,D as _,a1 as C,J as m,ax as T,j as g,aL as D}from"./vendor-lucide-BJGcDKZJ.js";import"./vendor-quill-SpU0cbOg.js";/* empty css */import"./index-DEM8G5sc.js";import"./index-jBAOEj5c.js";import"./FlashMessages-DkQE8oma.js";import"./Alert--2VNXs2a.js";import"./Logo-BlXFyvP5.js";const M=({company:s,stats:a})=>{const l=s.currency?.symbol||s.currency?.code||"â¹",h=()=>{window.print()};return e.jsxs("div",{className:"w-full mx-auto space-y-8 pb-12 print:p-0 print:space-y-4 print:max-w-none",children:[e.jsx(p,{title:`Company Audit Report - ${s.name}`}),e.jsx("style",{dangerouslySetInnerHTML:{__html:` 2 @media print { 3 /* Force standard scrollable container boxes to display full content heights */ 4 body, html, #app, main, .main-content, 5 div[class*="overflow-y-"], div[class*="overflow-hidden"], 6 div[class*="h-screen"], div[class*="min-h-screen"], div[class*="flex-1"] { 7 overflow: visible !important; 8 height: auto !important; 9 min-height: auto !important; 10 max-height: none !important; 11 position: static !important; 12 } 13 14 /* Hide sidebar navigation, main topbar headers and custom page action buttons */ 15 aside, nav, header, button, .print-hidden, 16 a[href*="edit"], .lucide-link2, a span svg { 17 display: none !important; 18 } 19 20 /* Reset page layout spacing */ 21 .print\\:space-y-4 > * + * { 22 margin-top: 1rem !important; 23 } 24 25 /* Compress Quick Summary Cards so they sit in a compact clean row instead of taking a whole page */ 26 .print-grid-cards { 27 display: grid !important; 28 grid-template-columns: repeat(4, minmax(0, 1fr)) !important; 29 gap: 12px !important; 30 margin-bottom: 20px !important; 31 } 32 33 .print-card-item { 34 background: #ffffff !important; 35 color: #111827 !important; 36 border: 1px solid #d1d5db !important; 37 box-shadow: none !important; 38 padding: 10px !important; 39 border-radius: 8px !important; 40 text-align: left !important; 41 min-height: 90px !important; 42 page-break-inside: avoid !important; 43 height: auto !important; 44 } 45 46 .print-card-item * { 47 color: #111827 !important; 48 } 49 50 .print-card-item svg { 51 color: #374151 !important; 52 width: 16px !important; 53 height: 16px !important; 54 } 55 56 .print-card-item .mt-8 { 57 margin-top: 10px !important; 58 } 59 60 .print-card-item h3 { 61 font-size: 11px !important; 62 font-weight: 600 !important; 63 text-transform: uppercase !important; 64 letter-spacing: 0.05em !important; 65 } 66 67 .print-card-item .text-3xl { 68 font-size: 18px !important; 69 font-weight: 800 !important; 70 } 71 72 /* Force Sidebar (Left) and Detailed Metrics Report (Right) to print in a single column so they fit beautifully */ 73 .print-main-layout { 74 display: block !important; 75 width: 100% !important; 76 } 77 78 .print-main-layout > * { 79 width: 100% !important; 80 margin-bottom: 20px !important; 81 } 82 83 /* Page break styling */ 84 .bg-white { 85 background: #ffffff !important; 86 border: 1px solid #e5e7eb !important; 87 border-radius: 12px !important; 88 box-shadow: none !important; 89 page-break-inside: avoid !important; 90 } 91 } 92 `}}),e.jsxs("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-4 border-b border-gray-100 pb-6 print:hidden",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(t,{href:route("admin.companies.index"),className:"p-2.5 bg-white border border-gray-200 rounded-xl text-gray-500 hover:text-indigo-600 hover:bg-indigo-50/50 hover:border-indigo-100 transition-all shadow-sm",children:e.jsx(j,{className:"w-5 h-5"})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"px-2.5 py-1 text-xs font-bold uppercase tracking-wider bg-indigo-50 text-indigo-700 rounded-md",children:"SuperAdmin Portal"}),e.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-green-500"})]}),e.jsx("h1",{className:"text-3xl font-extrabold text-gray-900 tracking-tight mt-1",children:"Company Operational Audit"})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("button",{onClick:h,className:"flex items-center gap-2 px-5 py-2.5 bg-white border border-gray-200 hover:border-indigo-500 text-gray-700 hover:text-indigo-600 font-semibold rounded-xl shadow-sm hover:shadow transition-all",children:[e.jsx(u,{className:"w-4 h-4"}),e.jsx("span",{children:"Print / Export Audit"})]}),e.jsxs(t,{href:route("admin.companies.edit",s.id),className:"flex items-center gap-2 px-5 py-2.5 bg-green-500 hover:bg-green-600 text-white font-semibold rounded-xl shadow-md hover:shadow-lg transition-all",children:[e.jsx(N,{className:"w-4 h-4"}),e.jsx("span",{children:"Edit Settings"})]})]})]}),e.jsx("div",{className:"hidden print:block border-b border-gray-300 pb-4 mb-6",children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"COMPANY OPERATIONAL & STATISTICAL AUDIT REPORT"}),e.jsxs("p",{className:"text-xs text-gray-500 mt-1",children:["Generated by Super Administrator on ",new Date().toLocaleDateString()]})]}),e.jsx("span",{className:"text-sm font-bold text-indigo-600 uppercase tracking-widest",children:"CONFIDENTIAL"})]})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 print-grid-cards",children:[e.jsxs(t,{href:route("admin.employees.index"),className:"bg-gradient-to-br from-indigo-500 to-indigo-600 text-white rounded-2xl p-6 shadow-md hover:shadow-xl hover:-translate-y-1 transition-all duration-300 relative overflow-hidden group block print-card-item",children:[e.jsx("div",{className:"absolute right-0 top-0 translate-x-4 -translate-y-4 opacity-10 group-hover:scale-110 transition-transform duration-300 print:hidden",children:e.jsx(i,{className:"w-36 h-36"})}),e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsx("span",{className:"p-3 bg-white/10 rounded-xl print:p-1 print:bg-transparent",children:e.jsx(i,{className:"w-6 h-6 text-white"})}),e.jsxs("span",{className:"text-xs bg-white/20 px-2.5 py-1 rounded-full font-medium flex items-center gap-1 print:hidden",children:["Workforce ",e.jsx(r,{className:"w-3 h-3"})]})]}),e.jsxs("div",{className:"mt-8",children:[e.jsx("h3",{className:"text-sm font-medium text-indigo-100",children:"Total Workforce"}),e.jsxs("div",{className:"flex items-baseline gap-2 mt-1",children:[e.jsx("span",{className:"text-3xl font-bold",children:a.employees_count}),e.jsxs("span",{className:"text-xs text-indigo-200",children:["(",a.active_employees_count," Active)"]})]})]})]}),e.jsxs(t,{href:route("admin.invoices.index"),className:"bg-gradient-to-br from-emerald-500 to-emerald-600 text-white rounded-2xl p-6 shadow-md hover:shadow-xl hover:-translate-y-1 transition-all duration-300 relative overflow-hidden group block print-card-item",children:[e.jsx("div",{className:"absolute right-0 top-0 translate-x-4 -translate-y-4 opacity-10 group-hover:scale-110 transition-transform duration-300 print:hidden",children:e.jsx(o,{className:"w-36 h-36"})}),e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsx("span",{className:"p-3 bg-white/10 rounded-xl print:p-1 print:bg-transparent",children:e.jsx(o,{className:"w-6 h-6 text-white"})}),e.jsxs("span",{className:"text-xs bg-white/20 px-2.5 py-1 rounded-full font-medium flex items-center gap-1 print:hidden",children:["Finances ",e.jsx(r,{className:"w-3 h-3"})]})]}),e.jsxs("div",{className:"mt-8",children:[e.jsx("h3",{className:"text-sm font-medium text-emerald-100",children:"Invoiced Grand Total"}),e.jsx("div",{className:"flex items-baseline gap-2 mt-1",children:e.jsxs("span",{className:"text-3xl font-bold",children:[l,Number(a.invoices_sum||0).toLocaleStr
92ing(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})]})})]})]}),e.jsxs(t,{href:route("admin.expenses.index"),className:"bg-gradient-to-br from-rose-500 to-rose-600 text-white rounded-2xl p-6 shadow-md hover:shadow-xl hover:-translate-y-1 transition-all duration-300 relative overflow-hidden group block print-card-item",children:[e.jsx("div",{className:"absolute right-0 top-0 translate-x-4 -translate-y-4 opacity-10 group-hover:scale-110 transition-transform duration-300 print:hidden",children:e.jsx(n,{className:"w-36 h-36"})}),e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsx("span",{className:"p-3 bg-white/10 rounded-xl print:p-1 print:bg-transparent",children:e.jsx(n,{className:"w-6 h-6 text-white"})}),e.jsxs("span",{className:"text-xs bg-white/20 px-2.5 py-1 rounded-full font-medium flex items-center gap-1 print:hidden",children:["Expenses ",e.jsx(r,{className:"w-3 h-3"})]})]}),e.jsxs("div",{className:"mt-8",children:[e.jsx("h3",{className:"text-sm font-medium text-rose-100",children:"Total Claims Sum"}),e.jsx("div",{className:"flex items-baseline gap-2 mt-1",children:e.jsxs("span",{className:"text-3xl font-bold",children:[l,Number(a.expenses_sum||0).toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})]})})]})]}),e.jsxs(t,{href:route("admin.companies.edit",s.id),className:"bg-gradient-to-br from-amber-500 to-amber-600 text-white rounded-2xl p-6 shadow-md hover:shadow-xl hover:-translate-y-1 transition-all duration-300 relative overflow-hidden group block print-card-item",children:[e.jsx("div",{className:"absolute right-0 top-0 translate-x-4 -translate-y-4 opacity-10 group-hover:scale-110 transition-transform duration-300 print:hidden",children:e.jsx(d,{className:"w-36 h-36"})}),e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsx("span",{className:"p-3 bg-white/10 rounded-xl print:p-1 print:bg-transparent",children:e.jsx(d,{className:"w-6 h-6 text-white"})}),e.jsxs("span",{className:"text-xs bg-white/20 px-2.5 py-1 rounded-full font-medium flex items-center gap-1 print:hidden",children:["Subscription ",e.jsx(r,{className:"w-3 h-3"})]})]}),e.jsxs("div",{className:"mt-8",children:[e.jsx("h3",{className:"text-sm font-medium text-amber-100",children:"Company License Plan"}),e.jsx("div",{className:"flex items-baseline gap-2 mt-1",children:e.jsx("span",{className:"text-2xl font-bold truncate max-w-full block",children:s.plan?.name||"No Active Plan"})})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8 items-start print-main-layout",children:[e.jsxs("div",{className:"lg:col-span-1 space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-2xl border border-gray-150 p-6 shadow-sm hover:shadow-md transition-shadow",children:[e.jsxs("div",{className:"flex flex-col items-center text-center border-b border-gray-100 pb-6 mb-6",children:[e.jsx("div",{className:"w-24 h-24 rounded-2xl bg-gray-50 border border-gray-200 flex items-center justify-center p-3 mb-4 shadow-inner overflow-hidden",children:s.logo?e.jsx("img",{src:`/storage/${s.logo}`,alt:s.name,className:"max-h-full max-w-full object-contain"}):e.jsx(f,{className:"w-12 h-12 text-gray-300"})}),e.jsx("h2",{className:"text-xl font-bold text-gray-900",children:s.name}),e.jsxs("span",{className:"px-2 py-0.5 text-xs font-semibold bg-gray-100 text-gray-600 rounded mt-1.5",children:["ID: ",s.id]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest",children:"Contact & Registration"}),e.jsxs("div",{className:"space-y-3.5",children:[e.jsxs("div",{className:"flex items-start gap-3 text-sm",children:[e.jsx(v,{className:"w-4 h-4 text-gray-400 mt-0.5 flex-shrink-0"}),e.jsxs("div",{className:"text-gray-700 min-w-0",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"Email"}),e.jsx("span",{className:"font-semibold truncate block",children:s.email||"N/A"})]})]}),e.jsxs("div",{className:"flex items-start gap-3 text-sm",children:[e.jsx(y,{className:"w-4 h-4 text-gray-400 mt-0.5 flex-shrink-0"}),e.jsxs("div",{className:"text-gray-700",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"Phone"}),e.jsx("span",{className:"font-semibold",children:s.mobile||"N/A"})]})]}),e.jsxs("div",{className:"flex items-start gap-3 text-sm",children:[e.jsx(c,{className:"w-4 h-4 text-gray-400 mt-0.5 flex-shrink-0"}),e.jsxs("div",{className:"text-gray-700",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"GSTIN"}
92),e.jsx("span",{className:"font-semibold",children:s.gstin||"N/A"})]})]}),e.jsxs("div",{className:"flex items-start gap-3 text-sm",children:[e.jsx(w,{className:"w-4 h-4 text-gray-400 mt-0.5 flex-shrink-0"}),e.jsxs("div",{className:"text-gray-700",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"Address"}),e.jsxs("span",{className:"font-semibold block leading-relaxed text-xs",children:[s.address1,s.address2&&e.jsxs(e.Fragment,{children:[", ",s.address2]}),e.jsx("br",{}),s.indian_state?.name||s.state_id,", India - ",s.pincode]})]})]})]})]}),e.jsxs("div",{className:"border-t border-gray-100 pt-6 mt-6 space-y-4",children:[e.jsx("h3",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest",children:"Owner Details"}),e.jsxs("div",{className:"p-3 bg-gray-50 rounded-xl flex items-center gap-3",children:[e.jsx("div",{className:"w-9 h-9 rounded-full bg-indigo-100 text-indigo-700 flex items-center justify-center font-bold text-sm",children:s.owner?.name?.charAt(0)||"O"}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"block text-sm font-semibold text-gray-800 truncate",children:s.owner?.name||"No Owner Assigned"}),e.jsx("span",{className:"block text-xs text-gray-500 truncate",children:s.owner?.email||"N/A"})]})]})]})]}),e.jsxs("div",{className:"bg-white rounded-2xl border border-gray-150 p-6 shadow-sm hover:shadow-md transition-shadow",children:[e.jsxs("h3",{className:"text-sm font-bold text-gray-900 border-b border-gray-100 pb-3 mb-4 flex items-center gap-2",children:[e.jsx(k,{className:"w-4 h-4 text-amber-500"}),e.jsx("span",{children:"SaaS & Tenant Configuration"})]}),e.jsxs("div",{className:"space-y-3.5",children:[e.jsxs("div",{className:"text-sm",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"Tenant Name"}),e.jsx("span",{className:"font-semibold font-mono text-gray-800",children:s.tenant_name||"N/A"})]}),e.jsxs("div",{className:"text-sm",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"Tenant ID"}),e.jsx("span",{className:"font-semibold font-mono text-gray-800",children:s.tenant_id||"N/A"})]}),e.jsxs("div",{className:"text-sm",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"Tenant Type"}),e.jsx("span",{className:"font-semibold text-gray-800",children:s.tenant_type||"N/A"})]}),e.jsxs("div",{className:"text-sm",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"BCC Email Address"}),e.jsx("span",{className:"font-semibold text-gray-800 truncate block",children:s.bcc_email||"N/A"})]}),e.jsxs("div",{className:"text-sm",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"SMS Webhook Access Code"}),e.jsx("span",{className:"font-mono text-xs bg-gray-50 border border-gray-100 px-2 py-0.5 rounded text-gray-600 block truncate mt-1",children:s.sms_webhook_code||"No Webhook Configured"})]}),e.jsxs("div",{className:"text-sm",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"Timezone"}),e.jsx("span",{className:"font-semibold text-gray-800",children:s.timezone||"N/A"})]}),s.trial_ends_at&&e.jsxs("div",{className:"text-sm",children:[e.jsx("span",{className:"block text-xs text-gray-400",children:"Trial Valid Until"}),e.jsx("span",{className:"font-semibold text-rose-600",children:new Date(s.trial_ends_at).toLocaleDateString()})]})]})]}),(s.signature||s.stamp)&&e.jsxs("div",{className:"bg-white rounded-2xl border border-gray-150 p-6 shadow-sm hover:shadow-md transition-shadow",children:[e.jsxs("h3",{className:"text-sm font-bold text-gray-900 border-b border-gray-100 pb-3 mb-4 flex items-center gap-2",children:[e.jsx(A,{className:"w-4 h-4 text-emerald-500"}),e.jsx("span",{children:"Authorized Seals & Signatures"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.signature&&e.jsxs("div",{className:"text-center p-2 border border-gray-100 rounded-xl bg-gray-50/50",children:[e.jsx("span",{className:"block text-xs text-gray-400 mb-2",children:"Verified Signature"}),e.jsx("img",{src:`/storage/${s.signature}`,alt:"Signature",className:"max-h-16 mx-auto object-contain"})]}),s.stamp&&e.jsxs("div",{className:"text-center p-2 border border-gray-100 rounded-xl bg-gray-50/50",children:[e.jsx("span",{className:"block text-xs text-gray-400 mb-2",children:"Rubber Stamp Seal"}),e.jsx("img",{src:`/storage/${s.stamp}`,alt:"Stamp",className:"max-h-16 mx-auto object-contain"})]})]})]})]}),e.jsx("div",{className:"lg:col-span-2 space-y-6",children:e.jsxs("div",{className:"bg-white rounded-2xl border border-gray-150 shadow-sm p-6",children:[e.jsxs("h3",{className:"text-lg font-bold text-gray-900 border-b border-gray-100 pb-4 mb-6 flex items-center gap-2",children:[e.jsx(S,{className:"w-5 h-5 text-indigo-500"}),e.jsx("span",{children:"Full Operational Statistics Report"})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest mb-3",children:"HR & Organizational Hierarchy"}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs(t,{href:route("admin.employees.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-blue-50 text-blue-600 group-hover:bg-blue-100 rounded-lg transition-colors",children:e.jsx(i,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Total Workforce"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Employees ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.employees_count})]}),e.jsxs(t,{href:route("admin.departments.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-purple-50 text-purple-600 group-hover:bg-purple-100 rounded-lg transition-colors",children:e.jsx(x,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Departments"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Departments ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.departments_count})]}),e.jsxs(t,{href:route("admin.designations.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-indigo-50 text-indigo-600 group-hover:bg-indigo-100 rounded-lg transition-colors",children:e.jsx(_,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Designations"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Designations ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.designations_count})]}),e.jsxs(t,{href:route("admin.payroll-runs.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-amber-50 text-amber-600 group-hover:bg-amber-100 rounded-lg transition-colors",children:e.jsx(C,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Payroll Runs History"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Payroll Runs ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.payroll_runs_count})]})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest mb-3",children:"Business Operations & Sales"}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs(t,{href:route("admin.projects.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-emerald-50 text-emerald-600 group-hover:bg-emerald-100 rounded-lg transition-colors",children:e.jsx(m,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Active Projects"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Projects ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.projects_count})]}),e.jsxs(t,{href:route("admin.clients.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-sky-50 text-sky-600 group-hover:bg-sky-100 rounded-lg transition-colors",children:e.jsx(i,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Total Clients"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Clients ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.clients_count})]}),e.jsxs(t,{href:route("admin.leads.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-orange-50 text-orange-600 group-hover:bg-orange-100 rounded-lg transition-colors",children:e.jsx(T,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Total Leads Inbound"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Leads ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.leads_count})]}),e.jsxs(t,{href:route("admin.products.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-yellow-50 text-yellow-600 group-hover:bg-yellow-100 rounded-lg transition-colors",children:e.jsx(c,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Commercial Products"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Products ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.products_count})]})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest mb-3",children:"Company Assets & Compliance"}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs(t,{href:route("admin.assets.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-cyan-50 text-cyan-600 group-hover:bg-cyan-100 rounded-lg transition-colors",children:e.jsx(x,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Company Assets Listed"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Assets ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.assets_count})]}),e.jsxs(t,{href:route("admin.documents.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-red-50 text-red-600 group-hover:bg-red-100 rounded-lg transition-colors",children:e.jsx(g,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Uploaded Documents"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Documents ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.documents_count})]})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest mb-3",children:"Recruitment & Job Openings"}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs(t,{href:route("admin.job-postings.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-indigo-50 text-indigo-600 group-hover:bg-indigo-100 rounded-lg transition-colors",children:e.jsx(m,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Job Postings Published"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Job Postings ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.job_postings_count})]}),e.jsxs(t,{href:route("admin.job-applications.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-teal-50 text-teal-600 group-hover:bg-teal-100 rounded-lg transition-colors",children:e.jsx(D,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Job Applications Received"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Applications ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.job_applications_
92count})]})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest mb-3",children:"Invoicing & Claims Summary"}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs(t,{href:route("admin.invoices.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-green-50 text-green-600 group-hover:bg-green-100 rounded-lg transition-colors",children:e.jsx(g,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Total Invoices Issued"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Invoices ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.invoices_count})]}),e.jsxs(t,{href:route("admin.expenses.index"),className:"p-4 bg-gray-50/50 hover:bg-indigo-50 hover:border-indigo-200 rounded-xl border border-gray-100 transition-all flex items-center justify-between group cursor-pointer",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-rose-50 text-rose-600 group-hover:bg-rose-100 rounded-lg transition-colors",children:e.jsx(n,{className:"w-5 h-5"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("span",{className:"text-sm font-semibold text-gray-700 group-hover:text-indigo-900 block",children:"Total Expense Forms"}),e.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-0.5",children:["Manage Expenses ",e.jsx(r,{className:"w-3 h-3"})]})]})]}),e.jsx("span",{className:"text-lg font-bold text-gray-900 group-hover:text-indigo-600",children:a.expenses_count})]})]})]})]})]})})]})]})};M.layout=s=>e.jsx(b,{title:"Company Audit Report",children:s});export{M as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.