refactor: Replace PDF quote generation script with a new estimate generator and update PDF component styling.

This commit is contained in:
2026-02-04 16:51:01 +01:00
parent 226de83d0f
commit 4bba61078a
8 changed files with 16 additions and 15 deletions

View File

@@ -145,7 +145,7 @@ async function main() {
console.log('📄 Generating PDF estimation...');
try {
const genArgs = isEstimation ? '--estimation' : '';
execSync(`npx tsx ./scripts/generate-quote.ts --input ${tempJsonPath} ${genArgs}`, { stdio: 'inherit' });
execSync(`npx tsx ./scripts/generate-estimate.ts --input ${tempJsonPath} ${genArgs}`, { stdio: 'inherit' });
} finally {
// await fs.unlink(tempJsonPath);
}