/* eslint-disable */ /* ยฉ 2026 K2B NETWORK SOLUTIONS LLC. All rights reserved. Proprietary and confidential. Unauthorized copying, distribution, or use of this file, via any medium, is strictly prohibited. Original work product. */ // JBREWS DMS โ€” Getting Started. // Default landing page when the system has no data yet. Walks the user // through importing from their old DMS or starting fresh, step by step. const GettingStarted = ({ go, onClose, dealerCount = 0, deals = 0, inv = 0, users = 1 }) => { const empty = dealerCount === 0 && deals === 0 && inv === 0; return (
{/* Hero */}
K2B NETWORK
K2B Network Solutions presents your DMS.
{/* Audit C-05: Demo Mode loads / wipes SHARED business data, so it is admin-only. The legacy sample file is fetched on demand. */} {(window.jbIsAdmin ? window.jbIsAdmin() : false) && (
{(window.DMS && window.DMS.isDemo && window.DMS.isDemo()) ? : ((window.DMS && ((window.DMS.deals && window.DMS.deals().some(d => d.postedToGL)) || (window.DMS.journalEntries && window.DMS.journalEntries().length > 0) || (window.DMS.customers && Object.keys(window.DMS.customers()).length > 0))) && !(window.DMS.isDemo && window.DMS.isDemo())) ? ๐Ÿ”’ Demo Mode is locked โ€” this dealership has live records. : } Admin only. Demo Mode fills the DMS with practice data to learn on. Exiting wipes it โ€” your users, permissions & settings stay.
)}
The system is empty โ€” no deals, no inventory, no customers. That's intentional. Below are the steps to get your dealership up and running. You can either bring data over from your old DMS, or start adding it manually one record at a time.
{/* Status pills */}
โ— Live sync ready ยท multi-user enabled
{/* Step cards */}
go("uploadtool")} accent="var(--k2b-blue-data)" /> go("stockin")} accent="var(--k2b-green)" /> window.dispatchEvent(new CustomEvent("k2b-open-users"))} accent="var(--k2b-maroon)" /> { window.localStorage.setItem("jbrews-upload-mode", "export"); go("uploadtool"); }} accent="#8050B0" />
{/* Help footer */}
๐Ÿ’ก
Need help? Press F1 on any screen, hover over any field for a tooltip, or click the ? button in the top-right corner of any window.
go("salesmenu")}>All Modules โ–ธ
); }; const StatPill = ({ label, value, empty, tone }) => { const isEmpty = !value; return ( {isEmpty ? empty : value} {label} ); }; const StepCard = ({ num, title, blurb, steps, cta, onClick, accent }) => (
{num}
{title}
{blurb}
    {steps.map((s, i) =>
  1. {s}
  2. )}
{cta}
); Object.assign(window, { GettingStarted });