No description
Find a file
Dave e0b9131f7e docs(spec): purchase orders raised from a supplier quote
The ERP import is one direction only. This adds the other: read a supplier
quote with AI, review the lines, raise a PO in Mega's house layout, and email
it to the supplier.

- AI read proven against two real documents: a scanned invoice and a native
  ERP PO. Both extracted exactly, the scan to the cent.
- The PO's totals are derived from the reviewed lines, never copied from the
  quote; the quote's stated total is kept and compared.
- PO number MEGPPO-0001: a hyphen before the digits, so it cannot collide
  with the MEGPPO49676 series during the hybrid period.
- The AI key lives in app_settings and is edited in Settings, not in the
  environment.
2026-11-05 22:12:25 +02:00
.mavis/canvas-assets Mega Plant dashboard — fix & harden (Parts 0-5) 2026-09-12 09:35:48 +02:00
app feat(running): drive the charts and the profit from the running-cost register 2026-11-05 21:24:30 +02:00
components feat(running): drive the charts and the profit from the running-cost register 2026-11-05 21:24:30 +02:00
data/source feat(running): drive the charts and the profit from the running-cost register 2026-11-05 21:24:30 +02:00
docs docs(spec): purchase orders raised from a supplier quote 2026-11-05 22:12:25 +02:00
lib feat(running): drive the charts and the profit from the running-cost register 2026-11-05 21:24:30 +02:00
outputs chore(audit): keep the 2026-11-04 audit evidence and workbooks 2026-11-05 02:02:27 +02:00
public Add Workforce pages, Plant Clock tab bar and oil & diesel book-out 2026-10-22 11:39:18 +02:00
scripts feat(running): drive the charts and the profit from the running-cost register 2026-11-05 21:24:30 +02:00
worker feat: add user access and improve plant dashboard 2026-10-06 04:02:08 +02:00
.dockerignore Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
.env.example Mega Plant dashboard — fix & harden (Parts 0-5) 2026-09-12 09:35:48 +02:00
.gitignore chore(audit): keep the 2026-11-04 audit evidence and workbooks 2026-11-05 02:02:27 +02:00
AGENTS.md feat(running): drive the charts and the profit from the running-cost register 2026-11-05 21:24:30 +02:00
COOLIFY.md Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
Dockerfile feat: show the build commit as a faint corner mark 2026-10-30 01:27:22 +02:00
HANDOFF-PROMPT-2.md Round 2 (Parts B-D): asset register restructure, type field, sequential codes, flat sortable table, cost_lines, removed synthetic code, fail loudly 2026-09-12 10:24:26 +02:00
HANDOFF-PROMPT-3.md Round 3 (Parts A-B): charts fixes + expenses/overheads cleanup 2026-09-12 11:24:18 +02:00
HANDOFF-PROMPT-4.md Round 4: regressions fixed + mobile standard 2026-09-12 12:05:43 +02:00
HANDOFF-PROMPT.md Auto-create synthetic assets for unmatched machines in seed; update open-questions report 2026-09-12 09:40:18 +02:00
next.config.ts feat: add user access and improve plant dashboard 2026-10-06 04:02:08 +02:00
package-lock.json feat(clock): add standalone employee clock PWA 2026-10-21 06:39:15 +02:00
package.json feat(clock): add standalone employee clock PWA 2026-10-21 06:39:15 +02:00
postcss.config.mjs Mega Plant dashboard — fix & harden (Parts 0-5) 2026-09-12 09:35:48 +02:00
proxy.ts Cash float card, Office role + Slips tab, job card PDF, manual close/delete 2026-10-22 15:09:57 +02:00
tsconfig.json Mega Plant dashboard — fix & harden (Parts 0-5) 2026-09-12 09:35:48 +02:00