feat: update quotes and invoice templates with new dimensions and add quotes to featured templates

This commit is contained in:
Kyohei Fukuda committed 2025-03-13 11:19:17 +09:00
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 });