Compare commits
4 Commits
e19ef255ac
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 5140dbbc25 | |||
| bcf0e3f3d1 | |||
| 2bc1740e02 | |||
| 3977c3652f |
@@ -30,18 +30,12 @@ async function generatePdf(violation, score) {
|
|||||||
format: 'Letter',
|
format: 'Letter',
|
||||||
printBackground: true,
|
printBackground: true,
|
||||||
margin: {
|
margin: {
|
||||||
top: '0.6in',
|
top: '0.35in',
|
||||||
bottom: '0.7in',
|
bottom: '0.35in',
|
||||||
left: '0.75in',
|
left: '0.4in',
|
||||||
right: '0.75in',
|
right: '0.4in',
|
||||||
},
|
},
|
||||||
displayHeaderFooter: true,
|
displayHeaderFooter: false,
|
||||||
headerTemplate: '<div></div>',
|
|
||||||
footerTemplate: `
|
|
||||||
<div style="font-size:9px; color:#888; width:100%; text-align:center; padding:0 0.75in;">
|
|
||||||
CONFIDENTIAL — MPM Internal HR Document |
|
|
||||||
Page <span class="pageNumber"></span> of <span class="totalPages"></span>
|
|
||||||
</div>`,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return pdf;
|
return pdf;
|
||||||
|
|||||||
597
pdf/template.js
597
pdf/template.js
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user