14 lines
1.8 KiB
Markdown
14 lines
1.8 KiB
Markdown
# Trial demo catalog
|
|
|
|
New full-feature trial workspaces start with 10 fictional catering boxes, generated photos, ingredient quantities, TTK gross/net tables, preparation steps and allergens. The 43 stock products include purchase prices and partial opening balances, linked to 5 fictional suppliers. Ordinary paid companies remain empty; the Solnce company is excluded.
|
|
|
|
An empty trial or the developer's own empty company can install the set from New Order. Installation requires an active admin membership and a writable subscription, locks the workspace, preserves other data, and does not overwrite a populated catalog/stock/supplier ledger. Repeating installation leaves the existing data unchanged. No customer or order is installed automatically.
|
|
|
|
The guide creates one clearly marked sample order for tomorrow (initial total 9,700 RUB). It cannot auto-complete/pay and has no invented customer identity. Users can test shortages, receipts and recipe-based write-off. Photos and prices are illustrative; TTK costs cover ingredients and packaging only.
|
|
|
|
Cloud hydration now refreshes the inventory closure; owner onboarding pulls the server seed before saving the company profile. PWA cache: v91-20260918-trial-demo.
|
|
|
|
Source: `ops/demo/trial-demo-data.mjs`; rebuild with `npm run build:demo`. Image prompts and built-in generation provenance: `ops/demo/image-prompts.json`. Database migration: `20260918010000_trial_demo_catalog.sql`.
|
|
|
|
Validation: SQL smoke covers automatic trial creation, all TTK/stock links, idempotency, populated-catalog protection, Solnce exclusion, foreign/viewer/anonymous denial and developer-owned workspace without granting platform access. Desktop/mobile integration covers TTK display, images, one sample order, shortages, stock receipt and repeated write-off protection; owner onboarding preserves the server demo.
|