Skip to content

feat: implement client-side PDF generation and update invoice handling#18

Open
Haimantika wants to merge 1 commit into
mainfrom
fix-download-invoice
Open

feat: implement client-side PDF generation and update invoice handling#18
Haimantika wants to merge 1 commit into
mainfrom
fix-download-invoice

Conversation

@Haimantika

Copy link
Copy Markdown
Member
  • Added ClientPDFService for generating PDFs in the browser using html2pdf.js.
  • Introduced ClientPdfDemo component to showcase client-side PDF generation.
  • Updated generateInvoiceHandler to handle PDF generation on the client-side, removing server-side PDF generation due to reliability issues in serverless environments.
  • Modified DownloadInvoiceButton to request signed download URLs for generated invoices.
  • Updated InvoiceEmail template to inform users about the new PDF download process.
  • Added new dependencies in package.json for html2pdf.js and related libraries.

- Added ClientPDFService for generating PDFs in the browser using html2pdf.js.
- Introduced ClientPdfDemo component to showcase client-side PDF generation.
- Updated generateInvoiceHandler to handle PDF generation on the client-side, removing server-side PDF generation due to reliability issues in serverless environments.
- Modified DownloadInvoiceButton to request signed download URLs for generated invoices.
- Updated InvoiceEmail template to inform users about the new PDF download process.
- Added new dependencies in package.json for html2pdf.js and related libraries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant