JEISA-WEBAPP/pocketbase
SJCoetz d4be480ecb Add PO snapshot_items and edit/order handling
Add a PocketBase migration and store snapshot_items on purchase order creation so POs keep item details even if stock items change or are deleted. Wire snapshot_items through the UI: PurchaseOrders list prefers snapshot data when present; EditPurchaseOrderDialog supports snapshot fallback, SKU, entryMode (stock/manual), add/remove rows, and updates stock item GBP prices for stock-mode items. BookOutForm now deducts stock quantities on booking out and surfaces precise errors. Minor UI and behavior tweaks: low-stock report filters only actual stock items, columns typing includes snapshotItems, and edit action/menu is always available with an Edit dialog integrated into the PurchaseOrders page.
2026-05-24 00:11:37 +02:00
..
pb_hooks [dyad] wrote 3 file(s) 2025-09-12 10:55:57 +02:00
pb_migrations Add PO snapshot_items and edit/order handling 2026-05-24 00:11:37 +02:00
CHANGELOG.md [dyad] Connecting to PocketBase - wrote 3 file(s) + extra files edited outside of Dyad 2025-09-10 08:29:28 +02:00
LICENSE.md [dyad] Connecting to PocketBase - wrote 3 file(s) + extra files edited outside of Dyad 2025-09-10 08:29:28 +02:00
pocketbase Fixed login 2025-09-25 00:15:35 +02:00