mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
The customer-truck freight order went through ContractPdfService, whose only fallback is a crude text dump - so on servers without Chromium the document rendered as unstyled text. - render via the shared PdfRenderService with the styled tabular fallback (same path as marshalling / release documents) - rebuild the freight-order HTML in the standard document shape: brand header, booking summary tiles, one trucks table (plate / driver / type / containers / arrival), gate notice, signature lines - which is also what the fallback parser reads - keep the two watermarked copies (Port Operations, Gate Security & Carrier) for the Chromium path; drop the now-unused ContractPdfService injection Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>