mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
feat: hook up branding templates to invoices
This commit is contained in:
@@ -20,6 +20,10 @@ export class ChromiumlyTenancy {
|
||||
properties?: PageProperties,
|
||||
pdfFormat?: PdfFormat
|
||||
) {
|
||||
return this.htmlConvert.convert(tenantId, content, properties, pdfFormat);
|
||||
const parsedProperties = {
|
||||
margins: { top: 0, bottom: 0, left: 0, right: 0 },
|
||||
...properties,
|
||||
}
|
||||
return this.htmlConvert.convert(tenantId, content, parsedProperties, pdfFormat);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user