MSIN-4417 Update refund context handling in registration management
This commit refines the refund context handling by removing the unnecessary boolean parameter for Super Admin in the `fxRefundComputeContext` function, simplifying the logic. It ensures that refunds are consistently linked to the correct event context across various functions, enhancing authorization checks and calculations. The version code is incremented to 4.72.719 to reflect these changes.
This commit is contained in:
@ -98,7 +98,7 @@ switch ($strAction) {
|
||||
}
|
||||
|
||||
$strRefundToken = fxRefundEnsureToken();
|
||||
$arrRefundCtx = fxRefundComputeContext($recCommandes, $intEveContext, false);
|
||||
$arrRefundCtx = fxRefundComputeContext($recCommandes, $intEveContext);
|
||||
|
||||
// Auteur = promoteur connecte (alimente l'encart "Ajoute par" du formulaire).
|
||||
$strAuteur = trim((string)($_SESSION['com_info']['com_prenom'] ?? '') . ' '
|
||||
|
||||
Reference in New Issue
Block a user