update ui

This commit is contained in:
Emily
2025-02-14 16:13:06 +01:00
parent af6dff57ed
commit b2303468a4
27 changed files with 641 additions and 224 deletions

View File

@@ -1,6 +1,5 @@
import pdfkit from 'pdfkit';
import { PassThrough } from 'node:stream';
import { ProjectModel } from "@schema/project/ProjectSchema";
@@ -33,7 +32,7 @@ function formatNumberK(value: string | number, decimals: number = 1) {
const LINE_SPACING = 0.5;
const resourcePath = process.env.MODE === 'TEST' ? './public/pdf/' : '../public/pdf/';
const resourcePath = process.env.MODE === 'TEST' ? './public/pdf/' : './.output/public/pdf/';
function createPdf(data: PDFGenerationData) {