Compare commits

..

No commits in common. "3ef81f8273ed112482a8645a1480a5cc4ab3289a" and "2d6b14663b15be002b000bc9b3c0c59b90a90724" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -2,12 +2,11 @@ import { getInvoiceUrl } from './getInvoiceUrl';
import { InvoiceService } from './invoiceService'; import { InvoiceService } from './invoiceService';
import { processInvoice } from './processInvoice'; import { processInvoice } from './processInvoice';
import { sendInvoiceEmail } from './sendInvoiceEmail'; import { sendInvoiceEmail } from './sendInvoiceEmail';
import { directGenerateInvoice } from './directInvoice';
// Export all invoice-related functions
export { export {
getInvoiceUrl, getInvoiceUrl,
InvoiceService, InvoiceService,
processInvoice, processInvoice,
sendInvoiceEmail, sendInvoiceEmail
directGenerateInvoice,
}; };

View File

@ -7,7 +7,7 @@ import { sendEmailWithAttachmentUtil } from "../../../utils/emailService";
import * as pdfMake from 'pdfmake/build/pdfmake'; import * as pdfMake from 'pdfmake/build/pdfmake';
import * as pdfFonts from 'pdfmake/build/vfs_fonts'; import * as pdfFonts from 'pdfmake/build/vfs_fonts';
(pdfMake as any).vfs = (pdfFonts as any).pdfMake ? (pdfFonts as any).pdfMake.vfs : pdfFonts.vfs; (pdfMake as any).vfs = pdfFonts.vfs;
const admin = getAdmin(); const admin = getAdmin();
const logger = getLogger(); const logger = getLogger();