refactor: Replace PDF quote generation script with a new estimate generator and update PDF component styling.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user