Commit graph

141 commits

Author SHA1 Message Date
ed7359aa16 refactor: update confirmation handling in service announcements
- Changed the confirmation status checks from `accettato_conferma_at` to `status_conferma` in various components and controllers.
- Introduced a new `StatusConfermaEnum` to standardize confirmation statuses.
- Removed deprecated confirmation-related fields from the `ServizioAnnunci` schema.
- Deleted unused confirmation-related API methods and adjusted related logic in the service controller.
- Updated the search parameters schema to use the new confirmation status.
- Removed the `conferma-immobile` and `riapri-conferma` pages as they are no longer needed.
2026-04-09 16:17:24 +02:00
f52dd96c11 feat: implement Stripe reports management for admin panel
- Add new page for managing Stripe reports with functionality to generate and view reports.
- Create API router for handling Stripe report operations including listing, setting up, and generating reports.
- Introduce caching service for managing cache invalidation related to reports.
- Update Typst templates for formatting financial reports in EUR.
- Enhance utility functions for price formatting and error handling.
- Implement a script to check for unused tRPC procedures in the codebase.
2026-04-03 18:57:39 +02:00
aec6860cbd feat: add isAdmin parameter to interruzioneServizio and update related components 2026-03-31 09:24:22 +02:00
a11fc1241c feat: add comms_enabled flag to users and update email notification logic 2026-03-30 18:44:51 +02:00
73b1997c15 feat: update service confirmation routing and enhance order management UI components 2026-03-30 17:36:35 +02:00
bb8c796fa8 feat: enhance RichiesteTable with context menu for user actions and improve status resolution logic 2026-03-30 16:26:03 +02:00
508f00c02f feat: enhance ServizioPrezzo button styles with conditional classes for better visual feedback 2026-03-30 16:25:48 +02:00
450cac1e1d feat: add service interruption information and update UI components for better user guidance 2026-03-30 15:11:41 +02:00
0c89a62c55 feat: enhance FormServizio and FormServizioAcquisto with new button styles and functionality 2026-03-30 14:58:24 +02:00
00979ecdac fix: update service pricing terminology in ServizioPrezzo component 2026-03-30 14:15:27 +02:00
3455fc8e93 feat: update admin interface with new requests link and enhance UI elements 2026-03-30 11:30:35 +02:00
b9219fbbfe feat: add admin notification for interrupted services with announcement display 2026-03-30 10:04:43 +02:00
9452535a9f feat: implement NotePopover component for managing user notes and integrate it into UsersTable and RichiesteTable 2026-03-27 18:10:17 +01:00
b0c00e2d0f feat: replace custom Textarea component with UI library version across multiple files 2026-03-27 18:10:05 +01:00
7adb33f485 feat: enhance RichiesteTable with improved status and decorrenza handling
- Updated RichiesteTable to display decorrenza with tooltip based on status.
- Enhanced status display with badges indicating various states (e.g., Attesa attivazione, Interrotto).
- Added Popover for displaying Annunci details in RichiesteTable.
- Refactored API to fetch user interests and related announcements.
- Introduced Queue component to display email events for users.
- Updated translations to include new "Requests" section in admin navigation.
- Improved database queries for fetching user interests and announcements.
2026-03-25 17:30:33 +01:00
5bff7219e8 refactor: remove ServiziHeader component and integrate its functionality directly into RicercaUser page
feat: update Servizio component to handle interruzioneDays and acceptedInterr logic

refactor: simplify servizio_actions by removing unused InterruzioneServizio and EditParametri components

feat: enhance FormEditServizioAdmin to include interruzioneDays and acceptedInterr fields

fix: adjust email service to delete obsolete emails and handle invalid email types gracefully

chore: update stripe controller to utilize interruzioneDays for lock expiration logic

fix: ensure correct handling of servizio expiration and interruzione logic in service controller
2026-03-24 17:01:40 +01:00
1d1051f25a feat: implement AvvisoInterruzione email template and integrate into mailer service 2026-03-23 12:01:29 +01:00
ed93eb12a1 feat: update Counter component to conditionally apply disabled styles and enhance FormServizio with improved disabled state handling 2026-03-20 17:03:35 +01:00
cfc72a09e8 feat: enhance interruption request functionality with tooltip and improved messaging 2026-03-20 16:45:14 +01:00
cc06738db4 feat: remove unused EmailContattiConScheda component and related email functionality 2026-03-20 16:02:13 +01:00
d6cd5f86b8 feat: add note column to servizio_annunci table and implement AnnuncioNote component for admin annotations 2026-03-20 14:06:55 +01:00
8f662c56c1 feat: update Servizio component to integrate AdminServizioActions and enhance user actions 2026-03-20 13:54:29 +01:00
79354f3833 feat: update PostUnlock component to display contact information based on annuncio status 2026-03-19 14:07:36 +01:00
c6b462a54d feat: enhance RinnovoLinkCard and ServizioLinkCard components with improved styling and status handling 2026-03-19 12:14:11 +01:00
b274a729ee feat: refactor DataTableProps type declaration and remove unused Facehash component files 2026-03-19 10:23:07 +01:00
56402a374d feat: refactor button imports and usage across forms and pages for consistency 2026-03-18 18:01:02 +01:00
083a97e74f feat: add tipo_locatore to PostUnlock display and getProprietarioDataHandler for enhanced locatore information 2026-03-17 19:10:04 +01:00
57cd55d2d8 feat: add tipo_locatore field to various components and update related logic for improved locatore display 2026-03-17 19:08:14 +01:00
1307f352a4 feat: enhance payment preparation logic and add rinnovo handling
- Refactor `preparePayment` function to handle multiple order types including Rinnovo.
- Introduce new `RinnovoSolver` function to calculate renewal packs based on duration.
- Add `createRinnovo` service to manage the creation of renewal orders.
- Update `whIntentSucceededHandler` to handle payment confirmations for Rinnovo and other order types.
- Introduce default conditions for packs in `prezziario.service.ts`.
- Add new utility functions for managing renewal durations and permanenza.
- Update database interactions to ensure proper handling of orders and renewals.
- Enhance error handling and logging throughout the payment and renewal processes.
2026-03-17 18:46:43 +01:00
d18aee8a95 feat: update admin actions layout and add contact details dialog; modify user link path in UsersTable 2026-03-12 17:02:35 +01:00
300c9edfc4 feat: add admin contact details dialog and streamline cache invalidation in AnnuncioEditForm 2026-03-12 16:55:06 +01:00
41d743c97f refactor: update TypeScript SDK path and improve error handling in servizio service 2026-03-12 16:27:24 +01:00
985a302a05 Refactor Prezziario schema and related components
- Updated the Prezziario schema to replace boolean flags (isAcconto, isSaldo, isConsulenza, isStabile, isTransitorio) with new fields (order_type, service_type, service_variant) to better represent service attributes.
- Modified NewPrezzoModal to align with the updated schema.
- Renamed FormNewServizioAcquisto to FormServizioAcquisto in user onboarding pages for consistency.
- Adjusted imports and component usage in the user view and service onboarding pages to reflect the new form name.
2026-03-12 16:26:01 +01:00
547b1d6ce6 feat: replace arrow icon with mouse pointer icon and add bounce animation for 'in_attesa' status 2026-03-12 13:48:45 +01:00
db63591bcb style: update component styles to use bg-card and adjust heights for consistency 2026-03-12 12:11:57 +01:00
400dc037fe feat: add Richieste management page and table for admin 2026-03-11 12:07:19 +01:00
98d6f5763d feat: replace button with confirmation dialog for sending email in AdminSendScheda 2026-03-11 12:07:11 +01:00
366e17185c feat: enhance AnnunciRichiesti component to support adding announcements to services and update dialog styling 2026-03-09 11:07:35 +01:00
0904bba970 feat: enhance AddAnnuncio options to include title in label and update query to select title in getAnnunciAvailableToAdd 2026-03-09 10:41:34 +01: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
6211be289c feat: update layout and styling in UserDashboard and ServizioPage components 2026-03-06 18:54:48 +01:00
b32ebf9fde refactor: remove redundant getServizio invalidations across components 2026-03-06 18:23:35 +01:00
ccdbe03c2f feat: invalidate servizio data cache in multiple components after updates 2026-03-06 16:15:47 +01:00
a36fd52af2 feat: implement email functionality for contact details with attached PDF scheda 2026-03-04 16:39:27 +01:00
ac1859e88f feat: add service management features and update Italian translations
- Introduced new service status translations in Italian.
- Added service detail and management components for user and admin views.
- Implemented API endpoints for fetching service data and announcements.
- Enhanced service data handling with improved date parsing and formatting.
- Created new pages for service details accessible by both users and admins.
- Updated database queries to support new service functionalities.
2026-02-25 15:30:53 +01:00
70736e4aa1 refactor: update styling for Sidebar, DataTable, SiteHeader, AnnuncioCard, and Tabs components 2026-02-24 12:02:02 +01:00
5094255b65 refactor: enhance styling and layout for various components, including Accordion and Pricing sections 2026-02-24 11:36:26 +01:00
fd7da28535 feat: implement manual order creation dialog and associated form components 2026-02-24 10:40:32 +01:00
890f0572f3 feat: enhance document upload functionality and add save state indicators in Admin sections 2026-02-19 10:48:31 +01:00
a55b144f4d fix: update background color for AnnuncioDisplay component in dark mode 2026-02-19 09:58:15 +01:00