JEISA-WEBAPP/scripts
Dave 9d2ba5a430 feat(quotes): delete quotes from the app, add customer inline with full details
Two things that meant going into PocketBase by hand or jumping between
screens.

Deleting a quote
- Quotes had no delete action - a test quote could only be removed
  through the PocketBase admin UI. Purchase orders already soft delete
  by flipping a `deleted` flag, so quotes now do the same: the Delete
  action confirms first, then hides the quote from the list while the
  record and its PDF stay in PocketBase for audit.
- The quotes list filters out soft-deleted quotes, so a deleted quote
  is out of the way but recoverable by clearing the flag.

Adding a customer while writing a quote
- Typing a customer name that was not in the list used to create a
  name-only stub, which then had to be edited from the Customers screen
  before the quote could show an address or VAT number.
- The picker now opens the full customer form right there - address,
  VAT number, email and phone - with the name pre-filled. The new
  customer is created, added to the list and selected, so the quote
  carries on and the PDF has the details.
2026-10-21 05:09:11 +02:00
..
add-customer-fields.mjs feat(quotes,customers): address + VAT on quotes, 30-day validity, searchable customer 2026-10-21 04:45:58 +02:00
add-quote-deleted-flag.mjs feat(quotes): delete quotes from the app, add customer inline with full details 2026-10-21 05:09:11 +02:00
backfill-quote-validity.mjs feat(quotes,customers): address + VAT on quotes, 30-day validity, searchable customer 2026-10-21 04:45:58 +02:00
create-user-quote.mjs fix(quotes,po): repair item storage, totals and PDF line items 2026-10-20 20:13:46 +02:00
fix-items-field.mjs fix(quotes,po): repair item storage, totals and PDF line items 2026-10-20 20:13:46 +02:00
fix-users-collection.mjs feat(settings): add user management, fix totals and mobile layout 2026-10-21 03:13:01 +02:00
generate-icons.mjs Add icon generation script and new icons for PWA and favicons 2025-09-25 00:50:36 +02:00
mcp-create-po.mjs feat(po): add MCP server, agent-friendly PO API, and PDF rendering 2026-09-07 11:12:13 +02:00
po-photo-ingest.mjs feat(po): add MCP server, agent-friendly PO API, and PDF rendering 2026-09-07 11:12:13 +02:00
preview-quote-pdf.mjs feat(quotes,customers): address + VAT on quotes, 30-day validity, searchable customer 2026-10-21 04:45:58 +02:00
probe-pb-schema.mjs feat(po): add MCP server, agent-friendly PO API, and PDF rendering 2026-09-07 11:12:13 +02:00
push-migrations.mjs feat(po): add MCP server, agent-friendly PO API, and PDF rendering 2026-09-07 11:12:13 +02:00
test-pb-mcp.mjs feat(po): add MCP server, agent-friendly PO API, and PDF rendering 2026-09-07 11:12:13 +02:00
test-po-api.mjs feat(po): add MCP server, agent-friendly PO API, and PDF rendering 2026-09-07 11:12:13 +02:00
test-quote-pdf.mjs fix(quotes,po): repair item storage, totals and PDF line items 2026-10-20 20:13:46 +02:00