4 Commits

Author SHA1 Message Date
Misaka_Company
ee2fab3847 Add A4 carrier print mode (paper=a4) and document it in README + Swagger
- packing_list renders A5 content into top region of an A4 portrait page
  when paper=a4, so A5 paper loaded horizontally in an A4 tray prints upright
- run.generate/print_document/print_api thread the optional paper param through
- README: new Print Service section with A4 carrier usage + curl example
- Swagger: POST /api/print description documents the A4 carrier mode
2026-08-05 16:53:47 +08:00
Misaka_Company
df8f25f6da Add sign-off receipt report and refine packing list: single-line info bar, real-glyph row height, auto-paginated detail table
- Packing list: info bar changed to a single-line three-column layout (schedule no. | order no. | box no.); packing date moved to bottom-right on the same row as the total; date separator changed to slash
- Packing list: range column widened 20->30mm; quantity/position-no./remark start shifted right 10mm; remark column narrowed to compensate; total width unchanged
- Packing list: detail cells now use line_spacing=1.0 + valign=top; separators changed to thin solid lines at row bottom (+1mm line spacing); placeholder empty rows no longer step y
- Packing list: row height estimation now uses fpdf2's same simhei glyph measured width (replacing rough character-count estimate); _clean adds control-character cleanup
- New sign-off receipt report reports/sign_receipt: master+detail linked query, ReportBro auto-paginated table, PyMuPDF stamped footer (document no. / page no. / sign-off column)
- run.py: required params now read from each report's config.yaml; default output path auto-generated; added transform.stamp_footer post-processing hook
- .gitignore: ignore .workbuddy/
2026-08-04 08:55:09 +08:00
Misaka_Company
22b764ef19 Adjust packing list layout: merge detail-area bottom border, double-line title, dashed detail separators
- Merge the detail area's bottom border into the last record's thick line; remove the redundant thick line above the total (keep vertical spacing, total position unchanged)
- Add a thick line below the "Packing List" title matching the detail header's thickness, forming a "thick-above-thin-below" double line
- Change the detail list inner separators to dashed lines (simulated with multiple short solid segments, as ReportBro lines do not support native dashes); line weight raised from hairline to 1pt
2026-07-30 14:51:37 +08:00
Misaka_Company
4dc563cdd9 Initial commit 2026-07-30 14:17:18 +08:00