WFDASH-WEBAPP/scripts
Dave 3eea87ec03 feat(collection-confirm): auto-push purple cards on to invoicing, with a 2-day log
After each AI tick, every Collection Confirm card the page shows purple
(cardAiState verified) is confirmed without a person. Customer lines go
to ready for invoicing with the invoice number and date the AI read; stock
orders go to stock booking once every line is collected. Cards with a
problem flag, a photo for another PO, or no readable invoice number/date
stay for review.

Each push is recorded in ai_settings.collection_auto_push_log and shown at
the top of the page for today and yesterday (PO, supplier, items, value).
Off by default behind a Settings > AI switch; needs the manual live step
npm run pb:migrate:collection-auto-push before it will run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 11:36:23 +02:00
..
__pycache__ feat(mcp): enhance API documentation and add new tools 2026-08-15 00:06:40 +02:00
dev feat(sprint): add new sprint pricing workflow and supporting code 2026-07-03 07:29:43 +02:00
fixes
migrations feat(collection-confirm): auto-push purple cards on to invoicing, with a 2-day log 2026-10-28 11:36:23 +02:00
pb-hooks
perf feat: add new order, invoice, and dashboard management tools 2026-08-05 23:00:54 +02:00
smoke chore(giellie): add MiniMax vision/tool-call probe 2026-09-30 23:33:13 +02:00
utils refactor: switch hardcoded UI colors to semantic theme tokens 2026-07-07 17:22:03 +02:00
2026-08-03-load-husqvarna-cart.ts
2026-08-03-load-yg1-quote-soq078608.ts
2026-08-03-merge-yg1-drafts.ts
2026-08-13-heal-item-intel.ts
2026-08-21-backfill-order-duplicates.ts
2026-10-22-repair-short-splits.ts
2026-10-24-clear-rule-quote-suggestions.ts
_csv-sink.ts
_dump-browser-csv.ts feat(stock): update pricing logic and transform script for fasteners 2026-09-21 12:32:44 +02:00
_env.ts
_scrape-dowel-pins.ts
_scrape-grease-nipples.ts
_scrape-spring-pins.ts feat(stock): update pricing logic and transform script for fasteners 2026-09-21 12:32:44 +02:00
add-collection-field.ts
apply-default-markup.test.ts
apply-default-markup.ts
audit-pb-fields.py
audit-quote-company-drift.mjs
backfill-counter-collected.mts
backfill-item-intel.ts
backfill-po-items.mjs
backfill-stock-prices.test.ts
backfill-stock-prices.ts
build_v5_workflow.py
compress-attachments-once.mjs
deploy_v5_to_n8n.py
diff-nss-fix.ts feat(stock): update pricing logic and transform script for fasteners 2026-09-21 12:32:44 +02:00
fleetai-probe.mjs
import-data.ts
list-irda-stock.ts
mcp-doc-gen.py
mrbxnim4-telegram-cloud-photo-size-4-6016860144018328845-y.jpg
n8n-v2-error.ts
n8n-v2-main.ts feat(quotes): add email-to-quote pipeline with attachments and replies 2026-06-16 20:46:28 +02:00
nss-add-invoice-columns.ts
nss-backfill-in-stock-qty.ts
nss-dowel-pins-din6325-ingest.ts
nss-dowel-pins-din6325-pb-import.json
nss-dowel-pins-din6325-pb-transform.ts
nss-dowel-pins-din6325-pilot.csv
nss-fasteners-fix-name-description.ts
nss-fasteners-ingest.ts feat(stock): update pricing logic and transform script for fasteners 2026-09-21 12:32:44 +02:00
nss-fasteners-pb-import.json
nss-fasteners-pb-transform.ts
nss-fasteners-pilot.csv feat(stock): implement auto-markup for selling price and markup on stock item creation and updates 2026-09-16 09:49:52 +02:00
nss-fasteners-revert-name-description.ts
nss-fasteners-single-pieces.csv
nss-fix-kusasalethu-inv10924.ts
nss-grease-nipples-ingest.ts
nss-grease-nipples-pb-import.json
nss-grease-nipples-pb-transform.ts
nss-grease-nipples-pilot.csv
nss-hex-bolts-din931-ingest.ts
nss-hex-bolts-din931-pb-import.json
nss-hex-bolts-din931-pb-transform.ts
nss-hex-bolts-din931-pilot.csv
nss-hex-bolts-ingest.ts
nss-hex-bolts-pb-transform.ts
nss-scrape-bundle.js
nss-set-screws-din933-ingest.ts
nss-set-screws-din933-pb-import.json
nss-set-screws-din933-pb-transform.ts
nss-set-screws-din933-pilot.csv
nss-split-pins-din94-ingest.ts
nss-split-pins-din94-pb-import.json
nss-split-pins-din94-pb-transform.ts
nss-split-pins-din94-pilot.csv feat(stock): update pricing logic and transform script for fasteners 2026-09-21 12:32:44 +02:00
nss-spring-pins-iso8752-ingest.ts
nss-spring-pins-iso8752-pb-import.json
nss-spring-pins-iso8752-pb-transform.ts
nss-spring-pins-iso8752-pilot.csv
nss-threaded-rods-ingest.ts
nss-threaded-rods-pb-import.json feat(stock): update pricing logic and transform script for fasteners 2026-09-21 12:32:44 +02:00
nss-threaded-rods-pb-transform.ts
nss-threaded-rods-pilot.csv
nss-washers-din126-pb-import.json
nss-washers-din126-pilot.csv
nss-washers-ingest.ts
nss-washers-pb-transform.ts
quotes.pb.js
recent-stock-movements.ts
regenerate-delivery-note-pdfs.ts feat: add driverless collection confirm and new order tooling 2026-08-12 01:13:46 +02:00
seed-gielie-quotes.py
setup-pocketbase.ts
verify-nss-bolts.ts
verify-nss-dowel-pins.ts
verify-nss-fix.ts feat(stock): update pricing logic and transform script for fasteners 2026-09-21 12:32:44 +02:00
verify-nss-grease-nipples.ts
verify-nss-ingest.ts
verify-nss-revert.ts
verify-nss-rods.ts
verify-nss-set-screws.ts
verify-nss-split-pins.ts
verify-nss-spring-pins.ts
verify-nss-washers.ts
verify_v5.py