Browse Source

Add Purple Envelope proofing report text file and document status pipeline

Generates a low-to-high sorted precinct ballot proofing report alongside
the PDF proof, with ballot/page totals. Documents the Kit status pipeline
in the README for the import service.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
master
Daniel Covington 2 weeks ago
parent
commit
29fd76c687
2 changed files with 9 additions and 0 deletions
  1. BIN
      ImportService/TrackingDataImport.vbs
  2. +9
    -0
      README.md

BIN
ImportService/TrackingDataImport.vbs View File


+ 9
- 0
README.md View File

@@ -97,6 +97,15 @@ And a helper installer:


These are intended to run on Windows to import tracking export data from the configured `ExportDirectory`. These are intended to run on Windows to import tracking export data from the configured `ExportDirectory`.


### Purple Envelope kit status pipeline
`TrackingDataImport.vbs` drives a Purple Envelope kit through its `Kit.Status` values on each run, via `ProcessStatus` in `Main`:

1. **Ready To Assign STIDS** — user picks the outbound STID on the Kit edit page (`SwitchBoardPurpleEnvelopeEdit`)
2. **Ready to Assign Labels** — set by `SwitchBoardPurpleEnvelopeEditPost`; picked up by `AssignTracking`, which assigns serial numbers/tracking info (`createTrackingInfoForKit`)
3. **Ready For Export** — picked up by `ExportSnailWorks`, which builds the SnailWorks CSV export (`CreateExportForSnailWorks`)
4. **Ready to Proof** — picked up by `ProofJurisdiction`, which builds the PDF proof and proofing report (`CreateProofForJurisdiction`)
5. **Ready For Inkjet Export** — picked up by `ExportInkjet`, which writes the inkjet CSV (`ExportInkjetFile`) and sets status to **Done**

--- ---


## Dev tooling ## Dev tooling


Loading…
Cancel
Save

Powered by TurnKey Linux.