Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix(documents): center the company address block in the PDF header
Sidwebworks4f46928db84c
diff --git a/packages/documents/src/pdf/components/Header.tsx b/packages/documents/src/pdf/components/Header.tsxindex 28f98438f4..2d41481f13 100644--- a/packages/documents/src/pdf/components/Header.tsx+++ b/packages/documents/src/pdf/components/Header.tsx@@ -53,7 +53,7 @@ const Header = ({{/* Unconstrained flex children overlap in react-pdf when both sides arewide (long titles like "Return Merchandise Authorization") — boundeach side so the title wraps instead of colliding. */}- <View style={tw("flex flex-row shrink pr-3")}>+ <View style={tw("flex flex-row grow shrink items-center pr-3")}>{showLogo ? (<LogoImagesrc={logoSrc!}@@ -67,7 +67,11 @@ const Header = ({</Text>) : null}{opts.showCompanyDetails ? (- <View style={tw("flex flex-col text-[9px] text-gray-800")}>+ <View+ style={tw(+ "flex flex-col grow items-center text-[9px] text-gray-800"+ )}+ >{company.name ? (<Text style={tw("font-bold")}>{company.name}</Text>) : null}