phonepe (#30)
Some checks failed
Deploy FitLien services to Dev / Deploy to Dev (push) Failing after 3m47s
Some checks failed
Deploy FitLien services to Dev / Deploy to Dev (push) Failing after 3m47s
Co-authored-by: AllenTJ7 <163137620+AllenTJ7@users.noreply.github.com> Reviewed-on: #30
This commit is contained in:
parent
91e2af5890
commit
ae19a611b3
@ -2,11 +2,12 @@ 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,
|
||||||
};
|
};
|
||||||
|
|||||||
@ -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.vfs;
|
(pdfMake as any).vfs = (pdfFonts as any).pdfMake ? (pdfFonts as any).pdfMake.vfs : pdfFonts.vfs;
|
||||||
|
|
||||||
const admin = getAdmin();
|
const admin = getAdmin();
|
||||||
const logger = getLogger();
|
const logger = getLogger();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user