fix(ci): structurally align PDF react properties to match strict upstream CI signature schemas after lockfile decoupling
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Failing after 1m54s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Failing after 1m54s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s
This commit is contained in:
@@ -211,14 +211,11 @@ export const AgbsPDF = ({
|
|||||||
|
|
||||||
if (mode === "full") {
|
if (mode === "full") {
|
||||||
return (
|
return (
|
||||||
// @ts-ignore
|
|
||||||
<SimpleLayout
|
<SimpleLayout
|
||||||
companyData={companyData}
|
companyData={companyData}
|
||||||
bankData={bankData}
|
bankData={bankData}
|
||||||
footerLogo={footerLogo}
|
footerLogo={footerLogo}
|
||||||
icon={headerIcon}
|
|
||||||
headerIcon={headerIcon}
|
headerIcon={headerIcon}
|
||||||
pageNumber="10"
|
|
||||||
showPageNumber={false}
|
showPageNumber={false}
|
||||||
>
|
>
|
||||||
{content}
|
{content}
|
||||||
@@ -229,10 +226,8 @@ export const AgbsPDF = ({
|
|||||||
return (
|
return (
|
||||||
<PDFPage size="A4" style={pdfStyles.page}>
|
<PDFPage size="A4" style={pdfStyles.page}>
|
||||||
<FoldingMarks />
|
<FoldingMarks />
|
||||||
{/* @ts-ignore */}
|
|
||||||
<Header
|
<Header
|
||||||
icon={headerIcon}
|
icon={headerIcon}
|
||||||
headerIcon={headerIcon}
|
|
||||||
showAddress={false}
|
showAddress={false}
|
||||||
sender={companyData as any}
|
sender={companyData as any}
|
||||||
recipient={{} as any}
|
recipient={{} as any}
|
||||||
|
|||||||
@@ -47,8 +47,7 @@ export const CombinedQuotePDF = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const layoutProps = {
|
const layoutProps = {
|
||||||
date,
|
headerIcon: estimationProps.headerIcon,
|
||||||
icon: estimationProps.headerIcon,
|
|
||||||
footerLogo: estimationProps.footerLogo,
|
footerLogo: estimationProps.footerLogo,
|
||||||
companyData,
|
companyData,
|
||||||
bankData,
|
bankData,
|
||||||
@@ -73,8 +72,7 @@ export const CombinedQuotePDF = ({
|
|||||||
footerLogo={estimationProps.footerLogo}
|
footerLogo={estimationProps.footerLogo}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{/* @ts-ignore */}
|
<SimpleLayout {...layoutProps} showPageNumber={false}>
|
||||||
<SimpleLayout {...layoutProps} pageNumber="END" showPageNumber={false}>
|
|
||||||
<ClosingModule />
|
<ClosingModule />
|
||||||
</SimpleLayout>
|
</SimpleLayout>
|
||||||
</PDFDocument>
|
</PDFDocument>
|
||||||
|
|||||||
@@ -78,9 +78,7 @@ export const LocalEstimationPDF = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const commonProps = {
|
const commonProps = {
|
||||||
state,
|
headerIcon: headerIcon,
|
||||||
date,
|
|
||||||
icon: headerIcon,
|
|
||||||
footerLogo,
|
footerLogo,
|
||||||
companyData,
|
companyData,
|
||||||
};
|
};
|
||||||
@@ -103,14 +101,12 @@ export const LocalEstimationPDF = ({
|
|||||||
{/* BriefingModule Page REMOVED as per user request ("die zweite seite ist leer, weg damit") */}
|
{/* BriefingModule Page REMOVED as per user request ("die zweite seite ist leer, weg damit") */}
|
||||||
|
|
||||||
{state.sitemap && state.sitemap.length > 0 && (
|
{state.sitemap && state.sitemap.length > 0 && (
|
||||||
// @ts-ignore
|
<SimpleLayout {...commonProps} showPageNumber={false}>
|
||||||
<SimpleLayout {...commonProps} pageNumber={getPageNum()}>
|
|
||||||
<SitemapModule state={state} />
|
<SitemapModule state={state} />
|
||||||
</SimpleLayout>
|
</SimpleLayout>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* @ts-ignore */}
|
<SimpleLayout {...commonProps} showPageNumber={false}>
|
||||||
<SimpleLayout {...commonProps} pageNumber={getPageNum()}>
|
|
||||||
<EstimationModule
|
<EstimationModule
|
||||||
state={state}
|
state={state}
|
||||||
positions={positions}
|
positions={positions}
|
||||||
@@ -119,13 +115,11 @@ export const LocalEstimationPDF = ({
|
|||||||
/>
|
/>
|
||||||
</SimpleLayout>
|
</SimpleLayout>
|
||||||
|
|
||||||
{/* @ts-ignore */}
|
<SimpleLayout {...commonProps} showPageNumber={false}>
|
||||||
<SimpleLayout {...commonProps} pageNumber={getPageNum()}>
|
|
||||||
<TransparenzModule pricing={pricing} />
|
<TransparenzModule pricing={pricing} />
|
||||||
</SimpleLayout>
|
</SimpleLayout>
|
||||||
|
|
||||||
{/* @ts-ignore */}
|
<SimpleLayout {...commonProps} showPageNumber={false}>
|
||||||
<SimpleLayout {...commonProps} pageNumber={getPageNum()}>
|
|
||||||
<ClosingModule />
|
<ClosingModule />
|
||||||
</SimpleLayout>
|
</SimpleLayout>
|
||||||
</PDFDocument>
|
</PDFDocument>
|
||||||
|
|||||||
Reference in New Issue
Block a user