Commit Graph

341 Commits

Author SHA1 Message Date
0d042deaf2 MSIN-4416 Enhance refund functionality in registration management with new documentation panel
This commit introduces a new documentation panel for the refund process in the registration management interface. It adds a function to render the refund documentation aside from the main refund form, improving user guidance during the refund process. Additionally, CSS styles are added to ensure proper layout and responsiveness of the new panel. The version code is updated to 4.72.717 to reflect these changes.
2026-06-30 14:40:48 -04:00
5e767e77a9 Update CSS styles for cancellation badges and increment version code to 4.72.716
This commit enhances the visual representation of cancellation badges in the UI by adding new CSS styles for better alignment and spacing. Additionally, the version code has been updated to reflect the latest changes. These updates improve the overall user experience in the registration management interface.
2026-06-29 13:47:24 -04:00
afff43abd6 MSIN-4405 Implement cancellation cause logic and UI enhancements
This commit introduces a new function, `fxGetAnnulationCause`, to determine the reason for a cancelled registration (e.g., transfer, modification, or true cancellation) without altering the database. Additionally, it adds CSS styles for displaying cancellation badges in the UI, enhancing the visual representation of registration statuses. The changes improve user experience by providing clear and informative feedback on registration cancellations throughout the management interface.
2026-06-29 13:31:28 -04:00
bcc7d7974e MSIN-4415 Enhance event display in promoteur hub with section title
This commit adds a section title for the events grid in the promoteur hub, improving the visual structure and clarity of the displayed information. The title indicates the availability of events for sale, enhancing user engagement and overall experience within the interface.
2026-06-29 12:01:32 -04:00
50e8fea3e9 MSIN-4415 Add product display functionality in promoteur hub
This commit introduces new features for displaying products available for sale within the promoteur hub. It adds a function to retrieve product data, including quantities available, sold, and in carts, enhancing the event experience by providing users with relevant product information. Additionally, CSS styles are added to improve the visual presentation of the product tiles. The changes ensure that product availability is clearly communicated to users, improving overall engagement and usability in the event management interface.
2026-06-29 11:59:20 -04:00
377f4993f8 MSIN-4413 Enhance captain role logic in profile fetching function
This commit refines the logic for determining the captain role within the `fxInscrGestionFetchFicheProfile` function. It introduces a new condition to ensure that the captain title is only displayed for team events, improving the accuracy of role representation. The changes enhance the clarity of participant profiles by correctly reflecting the captain status based on event type, thereby improving the overall user experience in the registration management interface.
2026-06-29 11:51:15 -04:00
8be4bafce1 Refine PayPal refund display logic to enhance user experience
This commit improves the handling of PayPal refunds by ensuring that no summary is displayed when there are no refunds available. The logic now checks for empty refund details before rendering the summary section, preventing unnecessary display of empty elements. This change enhances the clarity of the user interface by only showing relevant information, thereby improving the overall user experience in the registration management interface.
2026-06-29 11:47:48 -04:00
bdd0454240 Refactor PayPal refund handling to improve currency and ID retrieval logic
This commit enhances the handling of PayPal refunds by refining the logic for retrieving currency and identifiers. It introduces new utility functions, `strFirst` and `floatFirst`, to ensure that fallback values are correctly utilized when the refunds section is empty or when API reporting fails. This change improves the robustness of the refund summary display, ensuring accurate information is presented to users.
2026-06-29 11:43:58 -04:00
f52816da32 Enhance refund panel functionality in registration management
This commit introduces a new function, `focusRefundPanel`, to improve user experience by automatically scrolling the refund panel into view and focusing on the amount input field when the panel is loaded. Additionally, the refund panel is repositioned above the transaction panel to ensure better visibility. The changes streamline the interaction process, making it easier for users to access and input refund details.
2026-06-29 11:36:08 -04:00
7c88dd595d Implement compact PayPal refund summary feature in registration management
This commit introduces a new function, `renderPayPalRefundSummaryHtml`, to provide a concise overview of PayPal refunds within the registration management interface. The summary displays essential information such as status, captured amount, total refunded, and remaining balance, enhancing the user experience by presenting key details in a more accessible format. Additionally, the existing code is updated to utilize this new summary function, improving the overall clarity and usability of transaction information.
2026-06-29 11:33:07 -04:00
028a9af4aa MSIN-4412 Enhance transaction resume feature in registration management with detailed PayPal refund information
This commit improves the transaction resume functionality by adding detailed PayPal refund information to the transaction summary. The changes include a refined SQL query to retrieve complete command details and the integration of a new section displaying PayPal capture details if available. This enhancement provides users with a comprehensive view of their transactions, including refunds, directly within the management interface, thereby improving usability and transparency.
2026-06-29 11:24:02 -04:00
b5daa5a4ba Enhance bib management with restore functionality on duplicate check
This commit adds a restore feature for bib numbers in the registration management interface. When a duplicate bib is detected, the previously entered value is restored, improving user experience by preventing accidental data loss. The changes include new functions to manage the restoration process and updates to the existing AJAX handling to ensure the correct bib value is maintained during interactions. This enhancement builds on the previously implemented duplicate check feature, further refining the registration workflow.
2026-06-29 11:12:14 -04:00
811cf02f16 MSIN-4406 Implement duplicate bib check feature in registration management
This commit introduces a new AJAX functionality to check for duplicate bib numbers during the registration process. It adds a case in `ajax_inscr_gestion.php` to handle duplicate checks, returning relevant participant information and policies for handling duplicates. The front-end script in `inc_footer_scripts.php` is updated to incorporate this check before saving a bib, enhancing user interaction with confirmation dialogs for duplicate assignments. Additionally, new functions are added in `inc_fx_inscriptions_gestion.php` to manage duplicate policies and retrieve existing participants with the same bib number, improving data integrity and user experience in the registration management interface.
2026-06-29 11:09:10 -04:00
3b007261d6 MSIN-4404 Refactor AJAX handling for "bib retrieved" status toggle in registration management
This commit refines the AJAX functionality for toggling the "bib retrieved" status in the registration management interface. It introduces a confirmation dialog for removing the status, enhancing user interaction. The preloader display logic is also improved, ensuring a smoother user experience during the status update process. Additionally, the code structure is cleaned up for better readability and maintainability.
2026-06-29 10:58:31 -04:00
dfc5b8866a Implement transaction resume feature in registration management
This commit introduces a new AJAX-based feature to display transaction details in the registration management interface. A button labeled "Afficher la transaction" is added, allowing users to toggle the visibility of transaction summaries independently from refunds. The transaction details are fetched dynamically, enhancing user experience by providing immediate access to relevant information. Additionally, corresponding labels for the button are defined in both French and English to support internationalization. The changes improve the overall usability and functionality of the management interface.
2026-06-29 10:52:36 -04:00
d8252fd77f Update confirmation button labels and reposition in registration management
This commit modifies the labels for the confirmation button in both French and English to provide clearer instructions. The button is also repositioned to appear last in the management form for better user experience. Additionally, corresponding changes are made in the SQL file to reflect the updated labels in the database. These enhancements aim to improve clarity and usability in the registration management interface.
2026-06-29 10:46:32 -04:00
2d518e54ce Enhance registration management display with new column headers and responsive design
This commit introduces a new grid layout for the registration management list, adding column headers for better organization and clarity. The CSS has been updated to ensure proper alignment and styling of the headers, while also implementing responsive behavior to hide the header in mobile view. The version code has been updated to 4.72.713.
2026-06-29 10:41:48 -04:00
46c75f14b6 Enhance OCR scanning interface and improve internationalization handling
This commit updates the CSS for the OCR scanning interface, increasing the aspect ratio and adjusting dimensions for better usability. It also introduces a new function, `fxInscrGestionScanLabel`, to provide robust labels for scanner buttons, ensuring that users receive clear instructions regardless of language settings. The version code has been updated to 4.72.712.
2026-06-29 10:37:09 -04:00
10d800959f Refactor BibScanSession to improve internationalization handling in status messages
This commit enhances the `BibScanSession` class by introducing a new function, `scanMsg`, to manage the retrieval of translated status messages. It replaces direct attribute access with this function to ensure that raw internationalization keys are not displayed to users. The changes improve the user experience by providing clearer and properly translated messages during the scanning process, including camera access and number detection feedback.
2026-06-29 10:28:21 -04:00
0b5da05d42 Enhance management form usability with improved CSS styles and enable OCR scanning
This commit introduces several CSS enhancements to the editable management form, increasing padding, font sizes, and button dimensions for better touch accessibility on mobile devices. Additionally, it sets the OCR scanning feature to always be available on the management form, ensuring a seamless user experience during data entry. The version code has been updated to 4.72.711.
2026-06-29 10:00:30 -04:00
8f04833b6a Update ajax_inscr_gestion.php to improve error handling and include necessary function dependencies
This commit adds a required file inclusion for the `fxEveAccesResolveEveIdFromParId` function to ensure it is available during the execution of the 'par_statut_course' case. Additionally, it simplifies the error response for invalid actions by removing detailed diagnostic information, streamlining the error handling process while maintaining essential feedback for AJAX requests.
2026-06-29 09:47:57 -04:00
61bf838108 Implement error handling and JSON response for ajax_inscr_gestion.php
This commit enhances the error handling in the `ajax_inscr_gestion.php` file by introducing a shutdown function that captures fatal errors and returns a structured JSON response instead of a generic 500 error. Additionally, it adds diagnostic information for invalid actions, improving the debugging process. These changes aim to provide clearer feedback to users and developers when issues arise during AJAX requests.
2026-06-29 09:46:05 -04:00
6ab8c8c61f Enhance promoteur hub functionality by defining a threshold for unlimited events
This commit introduces a new constant, `PHUB_SEUIL_ILLIMITE`, to define the quantity threshold at which an event is considered "unlimited." The `fxPromoteurHubGetEpreuveStats` function has been updated to incorporate this threshold, allowing for better handling of event statistics and improving the accuracy of the sold tickets and remaining quantities display. These changes aim to enhance the clarity and functionality of the promoteur hub.
2026-06-27 17:41:30 -04:00
bedc53df7f chore: stop tracking v3_ci4/vendor (Composer artifacts)
Le dossier vendor/ avait ete committe par accident (milliers de fichiers), ce qui faisait geler l'IDE. Ajoute au .gitignore et retire du suivi (fichiers conserves sur disque). composer.lock reste versionne.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 17:38:03 -04:00
91bf29089e Add Composer artifacts to .gitignore to prevent vendor directory commits 2026-06-27 17:37:45 -04:00
ca452f9ade Update promoteur hub statistics display and refine CSS for better user experience
This commit enhances the `fxPromoteurHubGetEpreuveStats` function to improve the aggregation and presentation of event statistics, including sold tickets and check-ins. Additionally, it refines the CSS styles for the promoteur hub, ensuring a more cohesive and visually appealing layout for statistics and event tiles. These updates aim to provide users with clearer insights and a more organized interface for event management.
2026-06-27 17:35:37 -04:00
c47d826f8e Refactor promoteur hub rendering and update CSS for improved layout
This commit refines the rendering functions for the promoteur hub, introducing `fxPromoteurHubRenderFlash` and `fxPromoteurHubRenderEpreuvesGrid` to separate the display of the flash summary and the grid of event tiles. The CSS has been updated to enhance the layout, including new styles for the flash section and action buttons, ensuring a more organized and visually appealing interface. Additionally, the version code has been incremented to 4.72.710.
2026-06-27 17:12:59 -04:00
3e8112ec0b Implement statistics and layout enhancements for promoteur hub
This commit introduces a new function, `fxPromoteurHubGetEpreuveStats`, to aggregate and return statistics for events, including sold tickets, check-ins, and waiting list details. Additionally, it adds extensive CSS styles for the promoteur hub, enhancing the layout and visual presentation of statistics, alerts, and event tiles. These changes improve the user experience by providing clearer information and a more organized interface for event management.
2026-06-27 17:03:26 -04:00
67d7675e11 Add fxLegalLabelIsDraft function to improve label validation
This commit introduces the `fxLegalLabelIsDraft` function, which checks if a given label is a draft based on its content. The function trims the label and evaluates conditions such as emptiness and the presence of underscores, enhancing the clarity and maintainability of the cookie consent management system. This addition supports better label handling in the context of legal page requirements.
2026-06-27 15:00:03 -04:00
f32a4300f0 Enhance footer social links styling for improved layout and accessibility
This commit updates the CSS styles for the footer's social links, ensuring a more consistent and user-friendly layout. Changes include adjustments to the display properties and margins of social link elements, enhancing their alignment and visual appeal. Additionally, the font size of the cookie management icon has been refined for better integration within the footer design.
2026-06-27 14:58:07 -04:00
1b30f7e0ea Refactor cookie consent management to improve label handling
This commit updates the `fxEnsureLegalPage` function to utilize the `fxLegalLabelIsDraft` function for checking and updating French and English labels. This change enhances the clarity and maintainability of the code by ensuring that labels are only updated when they are in draft status, aligning with the overall improvements in cookie consent management.
2026-06-27 14:57:01 -04:00
33f5c3d0dd Update version code to 4.72.708 in inc_settings.php 2026-06-27 14:55:13 -04:00
58342532cd Enhance cookie management UI and functionality
This commit updates the cookie management interface in the footer by replacing the existing cookie icon with a new SVG representation, improving visual consistency. It also refines the associated CSS styles for better user interaction and accessibility. Additionally, the cookie consent text retrieval function has been simplified to ensure clearer language and compliance with privacy regulations. These changes collectively enhance the user experience and maintainability of the cookie consent system.
2026-06-27 14:54:52 -04:00
06d8a065dc Update cookie consent language and policy details for clarity and compliance
This commit enhances the cookie consent management by updating the language used in the consent messages and policy sections. The changes provide clearer explanations of cookie usage, including essential, analytics, and marketing cookies. Additionally, the policy now includes details on managing cookie preferences, cross-border data transfers, and user rights under Quebec Law 25, ensuring better compliance with privacy regulations and improving user understanding.
2026-06-27 14:49:52 -04:00
ce7c430046 Enhance cookie consent management and UI improvements
This commit refines the cookie consent management system by introducing a new function for handling cookie preferences and updating the UI elements in `inc_footer.php` and `inc_header.php`. It ensures that analytics and marketing scripts are executed based on user consent, improving compliance with privacy regulations. Additionally, it enhances the cookie consent interface, providing users with clearer options for managing their cookie preferences, and updates related functions for better maintainability.
2026-06-27 14:48:48 -04:00
19679875df Implement cookie consent management across various scripts
This commit introduces a comprehensive cookie consent management system by integrating the `fxCookiesAllowMarketing()` function across multiple files. It ensures that marketing-related scripts, such as Facebook Pixel and Google Analytics, are only executed if the user has consented to cookies. Additionally, it enhances the cookie consent UI in `inc_footer.php` and `inc_header.php`, improving user experience and compliance with privacy regulations. The changes also include refactoring of cookie handling functions for better maintainability.
2026-06-27 14:44:44 -04:00
4c08938403 Update promoteur hub layout and SQL for gestion integration
This commit modifies the layout of the promoteur hub by swapping the content of the left and right columns, ensuring that the management section is displayed correctly alongside the reports. Additionally, it updates the SQL script to include safety measures for missing labels and redefines the "Gestion" header in the promoteur hub, ensuring a consistent user experience across the interface.
2026-06-27 12:30:43 -04:00
6d885caedf Update inscriptions management to transition from mobile to gestion
This commit replaces references to mobile inscriptions with gestion inscriptions across multiple SQL files. It includes the addition of new button labels, search prompts, and QR code handling for the gestion interface, ensuring a consistent user experience. The changes enhance the overall structure and maintainability of the event management system while providing clearer instructions and improved functionality for users.
2026-06-27 12:25:36 -04:00
8f428a5c18 Refactor event management system to transition from mobile to gestion
This commit updates the event management system by replacing references to mobile inscriptions with gestion inscriptions. It includes changes to AJAX endpoints, helper functions, and UI elements to reflect this transition. The updates enhance the overall structure and maintainability of the codebase while ensuring that user access and permissions are properly managed for the new gestion interface.
2026-06-27 12:10:19 -04:00
9acc8102e8 Add AJAX functionality for event registration management and QR code scanning
This commit introduces new AJAX endpoints for managing event registrations, including a dedicated script for handling QR code scans. The new functionality validates user sessions and event access, providing JSON responses for both successful and error states. Additionally, it enhances the overall structure of the event management system by integrating various helper functions for improved maintainability and user experience.
2026-06-27 12:09:56 -04:00
116347036f Enhance mobile event registration search functionality with new prompts and criteria handling
This commit introduces a search prompt for the mobile event registration interface, guiding users on how to display registrations. It also implements logic to manage search criteria, ensuring that the search state is preserved during pagination and navigation. These improvements enhance user experience by providing clearer instructions and maintaining context during searches.
2026-06-27 11:54:40 -04:00
c4199c5557 Enhance mobile event management interface with new labels and version update
This commit introduces new labels for displaying invoice and participant modification actions in the mobile event management interface, improving clarity for users. Additionally, the version code has been updated to reflect these changes. These enhancements contribute to a more user-friendly experience in managing event registrations.
2026-06-27 11:47:41 -04:00
98ed9f6f8e Refactor mobile event management actions and update version code
This commit removes the visual grouping for event management actions on mobile and simplifies the button layout. The buttons for editing, refunding, canceling, and restoring registrations have been streamlined for better usability. Additionally, the version code has been updated to reflect the latest changes. These modifications enhance the overall clarity and functionality of the mobile event management interface.
2026-06-27 11:40:53 -04:00
236601fcf6 Implement new mobile event management actions layout and enhance button functionality
This commit introduces a visually distinct group for managing event actions on mobile, including buttons for editing, refunding, canceling, and restoring registrations. Each button now features icons for improved clarity and user experience. Additionally, a new button for sending invoice details via email is added, enhancing the overall functionality of the mobile event management interface. Version and date constants are also updated.
2026-06-27 11:37:52 -04:00
373483b4eb Enhance refund display in mobile event management by introducing a collapsible summary panel for invoice details. This update improves user experience by providing bilingual labels for the transaction visibility toggle and a visually distinct layout for better clarity during the refund process. 2026-06-27 11:27:46 -04:00
95536edec5 Enhance refund process in mobile event management by integrating a summary of the invoice alongside the refund form. This update includes the addition of a resume display for the invoice, ensuring users can view the details of what they are refunding. The changes improve the user experience by providing clearer context during the refund request process. 2026-06-27 11:21:21 -04:00
e486c22bfc Refactor refund process by removing the inc_tableau_remboursement.php file and updating the refund handling logic in ajax_refund.php and inc_fx_paypal.php. The changes include enhanced authorization checks for promoters, improved session management for refund tokens, and better integration of user information in refund records. This update streamlines the refund workflow and enhances security and maintainability. 2026-06-27 11:14:41 -04:00
bc407a7c20 Add refund functionality to mobile event management
This commit introduces a new refund feature in the mobile event management system. It includes an AJAX-based refund form that allows users to request refunds directly from the event management interface. The refund button is conditionally displayed based on user permissions, and the form is dynamically loaded to enhance user experience. Additionally, the refund processing logic is integrated with existing PayPal functions to ensure seamless transaction handling. This update improves the overall usability and functionality of the event management system.
2026-06-26 14:45:09 -04:00
bc26c37315 Refactor refund form rendering in commandes.php to integrate author information directly into the display. The previous debug output has been removed and replaced with a structured information panel that includes the order number and the name of the person processing the refund. This change enhances the clarity and usability of the refund interface. 2026-06-26 14:34:47 -04:00
74ee34634e Refactor PayPal refund process by introducing a modular approach for refund context and rendering. This update consolidates refund logic into dedicated functions in inc_fx_paypal.php, enhancing maintainability and clarity. The commandes.php file is updated to utilize these new functions, improving the overall structure and readability of the refund handling code. 2026-06-26 14:26:06 -04:00