mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
fix: credit note printing
This commit is contained in:
@@ -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} />);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user