Documents › Spec · version 1 ·
tags
#spec

Specification✎ edit

Your AI keeps this page as it builds things for you, from your chat. You can edit it too.

Each app or thing you asked for gets a heading here, with one line of what you asked; its features are listed under it, one line each. The system view reads this page to show what's built and checked.

Shop✎ edit

Products in categories, with price and stock, my suppliers, customers and their orders. When an order is paid, take it off stock, and show me what's running low. Pages: Shop, ShopOrders, ShopCustomers; model and rules: shop.

  • Catalog: products in categories (a category can sit inside another), each with price, cost, its margin and stock {#shop-catalog}
  • Suppliers: who each product comes from, and how many days they take to deliver {#shop-suppliers}
  • Customers: who buys, with their email and since when {#shop-customers}
  • Orders: a customer's order, its lines (product, quantity, price) and its total, worked out; new, paid, shipped or cancelled {#shop-orders}
  • Paid takes stock: when an order is marked paid, its quantities come off each product's stock, once {#shop-paid}
  • Cancelled puts it back: cancelling a paid order returns its quantities to stock {#shop-cancelled}
  • Running low: products at or under their reorder point, fewest first, with the supplier to order from {#shop-low}