mirror of
https://github.com/pdfme/pdfme.git
synced 2026-08-07 03:12:21 -04:00
feat: update quotes and invoice templates with new dimensions and add quotes to featured templates
This commit is contained in:
1 parent
34c46d5b33
commit
a9fd52488f
7 files changed
+177
-191
No files matched your search
@@ -6,7 +6,7 @@ const __dirname = path.dirname(new URL(import.meta.url).pathname);
|
||||
const templatesDir = path.join(__dirname, '..', 'public', 'template-assets');
|
||||
const indexFilePath = path.join(templatesDir, 'index.json');
|
||||
|
||||
const featuredTemplates = ['invoice', 'pedigree', 'certificate-black', 'a4-blank', 'QR-lines'];
|
||||
const featuredTemplates = ['invoice', 'quotes','pedigree', 'certificate-black', 'a4-blank', 'QR-lines'];
|
||||
|
||||
function generateTemplatesListJson() {
|
||||
const items = fs.readdirSync(templatesDir, { withFileTypes: true });
|
||||
|
||||
Reference in new issue
Block a user