fix: credit note printing

This commit is contained in:
Ahmed Bouhuolia
2026-01-01 17:17:55 +02:00
parent ead4fc9b97
commit 0ef78a19fe
4 changed files with 302 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
import {
CreditNotePaperTemplate,
CreditNotePaperTemplateProps,
} from '../components/CreditNotePaperTemplate';
import { renderSSR } from './render-ssr';
/**
* Renders credit note paper template html.
* @param {CreditNotePaperTemplateProps} props
* @returns {string}
*/
export const renderCreditNotePaperTemplateHtml = (
props: CreditNotePaperTemplateProps
) => {
return renderSSR(<CreditNotePaperTemplate {...props} />);
};