This tool generates 80mm receipt-style build sheets for daily hydrophone production.
It converts pasted production data into structured, printable outputs for:
The application runs entirely from a single index.html file and does not require installation or a build process.
/opt/receipt-build-sheet/index.html on container_name: receipt-build-sheet
For information on how to update this tool, please see this guide.
Two formats are supported:
serial version length 1260589 H2dX 3
serial version Y/N length 1260618 S1eX Y 10
Y = weightedN = not weightedH1 and H2 do not support weight flagsPassive is automatically displayed as AS-1Passive -> AS-1W/WS1, H3, AS-1) -> WO/WH1, H2, and A5 only show a weight label when applicable| Product | Primer Requirement |
|---|---|
| H1, H2 | Required |
| S1 | Required only for -M10 variants |
| A5 | Housing primer required |
| H3 | Not required |
| Product Type | Behavior |
|---|---|
| H1, H2 | Assigned cart positions (01-32) |
| Others | No cart position |
The build sheet is structured into the following sections:
04 X H2dX 3m 02 X S1eX-M10 10m WO/W
10 X 3m 04 X 10m
Serial numbers are grouped when all of the following match:
SN:0589-0598 H2dX 3m SN:0620 S1eX-M10 10m WO/W
Each unit includes a checklist:
SN:0589 Cable Cut ☐ Built ☐ Cast ☐
01 0589 H2dX-3m ☐ Pass ☐ Fail
S1eX-M10-10m WO/W SN:0620 ☐ Pass ☐ Fail
Controlled by: buildReceiptSheets()
localStorage (aquarian-theme)If input parsing fails:
These areas should be modified with care:
parseLine() -> input parsing and validationformatWeightSuffix() / getDisplayVersion() -> labeling logicbuildReceiptData() -> core calculation and groupingbuildReceiptSheets() -> print splitting behaviorrenderReceiptInto() -> layout and renderingThis tool converts pasted production data into a printable 80mm receipt-style build sheet.
It can generate:
Paste your rows into the "Paste input rows" box.
serial version length 1260589 H2dX 3
serial version Y/N length 1260618 S1eX Y 10
Y = weighted -> shows as W/WN = not weightedPassive -> displays as AS-1H1 and H2 cannot use weight flagsS1, H3, AS-1 (no weight) -> show as WO/WAfter pasting, the "Mark recasts" section will populate automatically.
To mark a recast:
Recasts affect:
Open Advanced to adjust:
The preview updates automatically.
Check:
Click Print.
Note:
The preview may appear as one very long receipt - this is expected.
Includes:
Example:
10 X 3m 04 X 10m
Serials are grouped only when all match:
Example:
SN:0589-0598 H2dX 3m SN:0620 S1eX-M10 10m WO/W
SN:0589 Cable Cut ☐ Built ☐ Cast ☐
Cart items
01 0589 H2dX-3m ☐ Pass ☐ Fail
Non-cart items
S1eX-M10-10m WO/W SN:0620 ☐ Pass ☐ Fail
If an error appears in the preview:
serial version length Y/N while keeping the existing weighted format for other product families.SERIAL NUMBERS TO USE now shows quantity, aligns the X column, and keeps each grouped serial range on one line.RECAST now uses the same centered aligned layout style as the serial-number section.WORK TRACKING now pre-marks recasts as Cable Cut X and Built X, with all work-tracking columns aligned cleanly.Print now automatically saves the current build before opening the print dialog.Restore button next to Save so saved work comes back only when you ask for it.Save button that stores the current build sheet setup in the browser.SERIAL NUMBERS TO USE heading above the grouped serial section.Receipt Printer and A4 / Standard Printer.