Files
ms1inscription-v5/sql/MSIN-inscr-gestion-refund-doc.sql
stephan 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

24 lines
2.3 KiB
SQL

-- Panneau doc remboursement promoteur (fiche gestion inscriptions v2).
-- Anchor + module : fxDocRenderRefundPromoteurAside() / doc_edition.php (ancre inscr_gestion_refund_doc).
-- Prerequis : tables doc_mod / doc_page / doc_anchor (voir MSIN-doc-module.sql).
SET NAMES utf8mb4;
DELETE FROM doc_page WHERE doc_mod_clef = 'inscr_gestion_refund_doc';
DELETE FROM doc_anchor WHERE doc_anchor_clef = 'inscr_gestion_refund_doc';
DELETE FROM doc_mod WHERE doc_mod_clef = 'inscr_gestion_refund_doc';
INSERT INTO `doc_mod` (`doc_mod_clef`, `doc_mod_prg`, `doc_mod_titre`, `doc_mod_actif`, `doc_mod_tri`, `doc_mod_creation`)
VALUES ('inscr_gestion_refund_doc', 'compte.php', 'Remboursement promoteur', 1, 20, NOW());
INSERT INTO `doc_anchor` (`doc_anchor_clef`, `doc_mod_clef`, `doc_prg`, `doc_actif`, `doc_creation`)
VALUES ('inscr_gestion_refund_doc', 'inscr_gestion_refund_doc', 'compte.php', 1, NOW());
INSERT INTO `doc_page` (`doc_mod_clef`, `doc_page_clef`, `doc_langue`, `doc_titre`, `doc_sous_titre`, `doc_html`, `doc_prg`, `doc_tri`, `doc_actif`, `doc_creation`) VALUES
('inscr_gestion_refund_doc', 'inscr_gestion_refund_promoteur_info', 'fr', 'Remboursement et frais MS1', '',
'<article class="ms1-doc-article"><p>En tant que promoteur, vous pouvez rembourser le client <strong>jusqu''à 100&nbsp;%</strong> du montant de la transaction.</p><p>En revanche, <strong>les frais MS1 ne sont pas remboursés</strong> par la plateforme au promoteur. Si vous remboursez le client, <strong>vous assumez ces frais</strong>&nbsp;: ils restent à votre charge.</p><p>Le montant &laquo;&nbsp;Max remboursable&nbsp;&raquo; correspond au solde PayPal disponible pour cette capture, et non au remboursement des frais MS1.</p></article>',
'compte.php', 10, 1, NOW()),
('inscr_gestion_refund_doc', 'inscr_gestion_refund_promoteur_info', 'en', 'Refunds and MS1 fees', '',
'<article class="ms1-doc-article"><p>As a promoter, you may refund the customer <strong>up to 100%</strong> of the transaction amount.</p><p>However, <strong>MS1 platform fees are not refunded</strong> to the promoter. If you refund the customer, <strong>you absorb those fees</strong> — they remain your responsibility.</p><p>The &laquo;&nbsp;Max refundable&nbsp;&raquo; amount is the PayPal balance available for this capture, not a reimbursement of MS1 fees.</p></article>',
'compte.php', 10, 1, NOW());