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.

This commit is contained in:
2026-06-27 11:21:21 -04:00
parent e486c22bfc
commit 95536edec5

View File

@ -76,7 +76,14 @@ switch ($strAction) {
// Markup seul (sans <script>, dernier param false) car injecte via innerHTML :
// le comportement (submit AJAX) est gere par le handler delegue dans inc_footer_scripts.php.
$strHtml = fxRenderRefundForm($recCommandes, $strRefundToken, $arrRefundCtx, $vDomaine, $strAuteur, null, false);
$strForm = fxRenderRefundForm($recCommandes, $strRefundToken, $arrRefundCtx, $vDomaine, $strAuteur, null, false);
// Resume de la facture (meme rendu que facture.php cote promoteur) : permet de voir ce qu'on rembourse.
// Affiche UNIQUEMENT cote promoteur ; en Super Admin on est deja dans le visuel de la facture.
require_once $_SERVER['DOCUMENT_ROOT'] . '/php/inc_fx_panier.php';
$strResume = fxShowPanier($recCommandes['no_panier'], 0, 'web', 1, $strLangue);
$strHtml = '<div class="ms1-refund-resume" style="margin-bottom:12px;">' . $strResume . '</div>' . $strForm;
$tabRetour = array('state' => 'ok', 'html' => $strHtml);
break;