Commit graph

6 commits

Author SHA1 Message Date
3f477ca3b8 refactor: update session handling across components to use new session structure and improve loading states 2026-04-09 11:09:25 +02:00
6c36bb9b74 feat: add order editing form and payment processing pages
- Implemented FormEditOrder component for editing orders with validation and submission handling.
- Created SchedaAnnuncioPage for displaying printable announcement details.
- Added BonificoManualePage for manual bank transfer payment instructions.
- Developed PagamentoPage for Stripe payment processing with PaymentIntent creation.
- Introduced PreviewPurchasePage for preparing payment with service details.
- Added pagamenti.controller for handling payment preparation and retrieval of payment data.
2026-03-08 01:02:57 +01:00
280e0ab5c2 feat: update payment recap links and add new receipt page
- Changed payment recap link in OrdiniModal to point to the new receipt page.
- Added new PaymentRecapPage for displaying receipt details.
- Updated PaymentsTable to set paid_at date based on payment status.
- Introduced manual payment type in PaymentType and updated related strings.
- Refactored getOrdineRicevutaData to use overridableProcedure for access control.
- Enhanced mail sending functionality to include PDF attachments for receipts and conditions.
- Updated PDF generation service to handle new receipt PDF generation.
- Cleaned up context checking utilities by removing unnecessary session checks.
2026-03-04 19:12:01 +01:00
a36fd52af2 feat: implement email functionality for contact details with attached PDF scheda 2026-03-04 16:39:27 +01:00
42c15dfe96 feat: integrate PDF generation using Puppeteer
- Removed dependencies on html2canvas-pro and jsPDF.
- Added puppeteer-core for PDF generation.
- Created a new API endpoint for generating PDFs.
- Updated SchedaAnnuncioStampabile component to use the new PDF generation API.
- Enhanced error handling and user feedback during PDF generation.
- Added browserless service to docker-compose for Puppeteer.
- Updated environment variables to include BROWSER_WS_URL.
- Refactored code to improve readability and maintainability.
2026-02-03 11:20:26 +01:00
2111535d08 feat: refactor middleware and proxy structure for improved organization and functionality
- Removed old middleware files and replaced them with new proxy implementations for auth, API, password change, test redirection, and updater functionalities.
- Introduced a new proxy handler to streamline request processing through a chain of proxies.
- Updated package.json and package-lock.json to reflect dependency changes and ensure compatibility with the latest versions of Next.js, React, and related packages.
- Enhanced error handling and response management in the new proxy implementations.
2026-01-14 14:51:43 +01:00