PageSourceSearch

https://rehobethalabama.com/assets/BillingPage-c5idb2Lg.js

js rehobethalabama.com collected 2026-09-25 07:56:45 UTC 7,562 bytes, 1 lines download raw bytes

1import{j as e}from"./markdown-DtjUNGiI.js";import{r as d}from"./vendor-BwYRWotU.js";import{G as u}from"./GovBadge-C6PcdeKU.js";import{S as j,b4 as g,ab as v,aQ as N,h as x,P as w,O as y}from"./icons-Ck4WJybW.js";const P=({tenantId:m="rehobeth",tenantConfig:p})=>{const[t,r]=d.useState(!1),[l,i]=d.useState(null),a=m||"rehobeth",b=async()=>{r(!0),i("GovStax Billing Agent compiling invoice statement..."),setTimeout(()=>{r(!1),i("Official invoice generated! Opening printable PDF invoice viewer..."),window.open(`/admin/invoice/${a}`,"_blank")},800)},o=()=>{window.open(`/admin/invoice/${a}`,"_blank")},n=p?.modules||{erp_core:!0,public_website:!0,forms:!0,compliance_audit:!0,payments:!0,infrastructure:!0,crm_trades:!0,ai_concierge:!0},h=Object.keys(n).filter(s=>n[s]).length,f={erp_core:"ERP Core Operations",public_website:"Public Website & CMS",forms:"Civic Forms & Permitting",compliance_audit:"Compliance Shield & VPAT",payments:"Financial Ledger & Payments",infrastructure:"Infrastructure & GIS Atlas",crm_trades:"CRM Trades & Licensing",ai_concierge:"GovStax AI Concierge"};return e.jsxs("div",{className:"p-6 sm:p-8 max-w-6xl mx-auto font-sans space-y-6",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 pb-4 border-b border-slate-200",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl font-black font-sans text-slate-900 tracking-tight",children:"Subscription & Billing"}),e.jsx("p",{className:"text-xs font-bold text-slate-500 font-sans mt-1",children:"SaaS Master Service Contract • Account Ledger & Active Subscriptions"})]}),e.jsx("div",{className:"flex items-center gap-3",children:e.jsxs("div",{className:"bg-white border border-slate-200 shadow-2xs px-3.5 py-2 rounded-xl flex items-center gap-2 text-xs font-bold font-sans text-[#1b365d]",children:[e.jsx(j,{className:"w-4 h-4 text-emerald-600 shrink-0"}),e.jsx("span",{children:"SLA Uptime: 99.99% Guaranteed"})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"bg-white border border-slate-200 rounded-2xl p-6 shadow-sm flex flex-col justify-between md:col-span-2",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsx("h2",{className:"text-base font-bold font-sans text-slate-900",children:"Active Enterprise Subscriptions"}),e.jsxs("span",{className:"text-xs font-bold text-slate-500",children:["Account ID: ",e.jsx("span",{className:"font-mono text-slate-900 font-black",children:a.toUpperCase()})]})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 mb-6",children:Object.entries(n).filter(([s,c])=>c).map(([s,c])=>e.jsxs("div",{className:"flex items-center gap-3 p-3 bg-slate-50 border border-slate-200 rounded-xl",children:[e.jsx(g,{className:"w-4 h-4 text-emerald-600 shrink-0"}),e.jsx("span",{className:"font-bold font-sans text-xs text-slate-800",children:f[s]||s.replace("_"," ").toUpperCase()})]},s))})]}),e.jsxs("div",{className:"pt-4 border-t border-slate-200 flex items-center justify-between text-xs font-bold font-sans",children:[e.jsxs("div",{className:"flex items-center gap-2 text-slate-700",children:[e.jsx(v,{className:"w-4 h-4 text-[#1b365d]"}),e.jsxs("span",{children:[h," Active Enterprise Modules"]})]}),e.jsx("span",{className:"px-3 py-1 bg-indigo-50 border border-indigo-100 text-[#1b365d] rounded-lg",children:"Annual Master Contract"})]})]}),e.jsxs("div",{className:"bg-[#1b365d] text-white border border-[#142845] rounded-2xl p-6 shadow-sm flex flex-col justify-between",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsx("h3",{className:"text-xs font-bold font-sans uppercase tracking-wider text-slate-300",children:"Billing Engine"}),e.jsx(u,{variant:"info",children:"Automated"})]}),e.jsx("p",{className:"text-xs font-normal text-slate-200 leading-relaxed mb-6",children:"Request an updated ledger statement. Dispatches the automated billing agent to recalculate tiers and generate an official PDF invoice."})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("button",{type:"button",onClick:b,disabled:t,className:"w-full py-2.5 bg-emerald-600 hover:bg-emerald-500 text-white rounded-xl font-bold font-sans text-xs transition-colors flex items-center justify-center gap-2 cursor-pointer shadow-2xs min-h-[40px] disabled:opacity-50",children:[t?e.jsx(N,{className:"w-4 h-4 animate-spin"}):e.jsx(x,{className:"w-4 h-4 text-amber-300"}),e.jsx("span",{children:t?"Generating Invoice...":"Generate New Invoice"})]}),l&&e.jsx("p",{className:"text-[11px] text-emerald-300 font-bold font-sans mt-2 text-center leading-tight",children:l})]})]})]}),e.jsxs("div",{className:"bg-white border border-slate-200 rounded-2xl p-6 shadow-sm space-y-4",children:[e.jsx("div",{className:"flex items-center justify-between border-b border-slate-200 pb-3",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(x,{className:"w-4 h-4 text-[#1b365d]"}),e.jsx("h3",{className:"text-base font-bold font-sans text-slate-900",children:"Contract Invoice History & Ledger"})]})}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-left border-collapse font-sans text-xs",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-slate-200 text-slate-500 font-bold uppercase tracking-wider text-[11px]",children:[e.jsx("th",{className:"py-3 px-2",children:"Billing Perio
1d"}),e.jsx("th",{className:"py-3 px-2",children:"Description"}),e.jsx("th",{className:"py-3 px-2",children:"Status"}),e.jsx("th",{className:"py-3 px-2 text-right",children:"Official Document"})]})}),e.jsxs("tbody",{className:"divide-y divide-slate-100 font-medium text-slate-900",children:[e.jsxs("tr",{className:"hover:bg-slate-50/80 transition-colors",children:[e.jsx("td",{className:"py-3.5 px-2 font-bold font-mono",children:"Current Period (2026 Q3)"}),e.jsx("td",{className:"py-3.5 px-2 font-bold text-slate-800",children:"GovStax Enterprise Platform & Core Subscriptions"}),e.jsx("td",{className:"py-3.5 px-2",children:e.jsx("span",{className:"px-2.5 py-1 bg-emerald-50 border border-emerald-200 text-emerald-700 font-bold text-[11px] rounded-md",children:"Current Invoice"})}),e.jsx("td",{className:"py-3.5 px-2 text-right",children:e.jsxs("button",{type:"button",onClick:o,className:"px-3.5 py-2 bg-[#1b365d] hover:bg-[#132743] text-white rounded-lg font-bold text-xs transition-colors inline-flex items-center gap-1.5 cursor-pointer shadow-2xs min-h-[36px]",children:[e.jsx(w,{className:"w-3.5 h-3.5 text-amber-400"}),e.jsx("span",{children:"View / Download PDF Invoice"})]})})]}),e.jsxs("tr",{className:"hover:bg-slate-50/80 transition-colors",children:[e.jsx("td",{className:"py-3.5 px-2 font-bold font-mono text-slate-600",children:"Aug 1, 2025"}),e.jsx("td",{className:"py-3.5 px-2 text-slate-600 font-bold",children:"GovStax Initial Onboarding & Setup"}),e.jsx("td",{className:"py-3.5 px-2",children:e.jsx("span",{className:"px-2.5 py-1 bg-slate-100 border border-slate-200 text-slate-600 font-bold text-[11px] rounded-md",children:"Paid & Cleared"})}),e.jsx("td",{className:"py-3.5 px-2 text-right",children:e.jsxs("button",{type:"button",onClick:o,className:"px-3 py-1.5 bg-slate-100 hover:bg-slate-200 text-slate-700 rounded-lg font-bold text-xs transition-colors inline-flex items-center gap-1 cursor-pointer",children:[e.jsx(y,{className:"w-3 h-3 text-slate-500"}),e.jsx("span",{children:"View Invoice"})]})})]})]})]})})]})]})};export{P as BillingPage};

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.