|
|
|
|
@ -485,11 +485,18 @@ function fxInscrMobileRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, $
|
|
|
|
|
echo '<div class="inscr-mobile-topbar__sub">' . fxInscrMobileEsc(fxInscrMobileEpreuveLabel($arrRow['epr_id'], $strLangue)) . '</div>';
|
|
|
|
|
echo '</div></div>';
|
|
|
|
|
|
|
|
|
|
echo '<div class="inscr-mobile-fiche-section">';
|
|
|
|
|
echo '<div class="inscr-mobile-fiche-section inscr-mobile-fiche-section--info">';
|
|
|
|
|
echo '<h2 class="inscr-mobile-fiche-section__title">' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_section_info')) . '</h2>';
|
|
|
|
|
echo '<dl class="inscr-mobile-dl">';
|
|
|
|
|
echo '<dt>' . fxInscrMobileEsc(fxInscrMobileT('rech_no_commande')) . '</dt><dd>';
|
|
|
|
|
echo '<a class="btn btn-primary btn-sm rounded-pill" href="' . $vDomaine . '/facture.php?no_panier=' . rawurlencode($arrRow['no_panier']) . '&lang=' . $strLangue . '" target="_blank">' . fxInscrMobileEsc($arrRow['no_commande']) . '</a></dd>';
|
|
|
|
|
echo '<div class="inscr-mobile-order-row">';
|
|
|
|
|
echo '<a class="btn btn-primary btn-sm rounded-pill" href="' . $vDomaine . '/facture.php?no_panier=' . rawurlencode($arrRow['no_panier']) . '&lang=' . $strLangue . '" target="_blank">' . fxInscrMobileEsc($arrRow['no_commande']) . '</a>';
|
|
|
|
|
$strRenvoi = ($strLangue === 'fr') ? 'RENVOI' : 'RESEND';
|
|
|
|
|
echo '<button class="btn btn-outline-primary btn-sm rounded-0 link_confirmation" type="button"'
|
|
|
|
|
. ' data-no_panier="' . fxInscrMobileEsc($arrRow['no_panier']) . '"'
|
|
|
|
|
. ' data-no_commande="' . fxInscrMobileEsc($arrRow['no_commande']) . '"'
|
|
|
|
|
. ' data-lng="' . $strLangue . '">' . fxInscrMobileEsc($strRenvoi) . '</button>';
|
|
|
|
|
echo '</div></dd>';
|
|
|
|
|
echo '<dt>' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_details')) . '</dt><dd>';
|
|
|
|
|
echo fxInscrMobileEsc($blnEquipe && fxIsParEquipe($arrRow['pec_id_original'], $arrRow['epr_id'])
|
|
|
|
|
? fxInscrMobileT('promoteur_bib_show_teamates') : fxInscrMobileT('epreuve_individuelle'));
|
|
|
|
|
@ -497,8 +504,11 @@ function fxInscrMobileRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, $
|
|
|
|
|
echo '<dt>' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_modified')) . '</dt><dd>' . fxCheckMAJ($arrRow['pec_id_original'], $intParId, $strLangue) . '</dd>';
|
|
|
|
|
echo '</dl></div>';
|
|
|
|
|
|
|
|
|
|
echo '<div class="inscr-mobile-fiche-section">';
|
|
|
|
|
echo '<h2 class="inscr-mobile-fiche-section__title">' . fxInscrMobileEsc(fxInscrMobileT('promoteur_bib_number')) . '</h2>';
|
|
|
|
|
echo '<div class="inscr-mobile-fiche-section inscr-mobile-fiche-section--editable">';
|
|
|
|
|
echo '<h2 class="inscr-mobile-fiche-section__title">' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_section_editable')) . '</h2>';
|
|
|
|
|
|
|
|
|
|
echo '<div class="inscr-mobile-field-block" data-inscr-field="bib">';
|
|
|
|
|
echo '<div class="inscr-mobile-field-block__label">' . fxInscrMobileEsc(fxInscrMobileT('promoteur_bib_number')) . '</div>';
|
|
|
|
|
echo '<div class="inscr-mobile-bib-row">';
|
|
|
|
|
echo '<input class="form-control rounded-0" type="text" id="' . $strBibInputId . $intParId . '" value="' . fxInscrMobileEsc($strBib) . '">';
|
|
|
|
|
echo '<button class="btn btn-primary rounded-0 btn_bib" type="button" data-action="' . $strBibAction . '"'
|
|
|
|
|
@ -508,8 +518,8 @@ function fxInscrMobileRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, $
|
|
|
|
|
. ' data-pec_id="' . (int)$arrRow['pec_id_original'] . '">OK</button>';
|
|
|
|
|
echo '</div></div>';
|
|
|
|
|
|
|
|
|
|
echo '<div class="inscr-mobile-fiche-section">';
|
|
|
|
|
echo '<h2 class="inscr-mobile-fiche-section__title">' . fxInscrMobileEsc(fxInscrMobileT('promoteur_bib_enregistre')) . '</h2>';
|
|
|
|
|
echo '<div class="inscr-mobile-field-block" data-inscr-field="remis">';
|
|
|
|
|
echo '<div class="inscr-mobile-field-block__label">' . fxInscrMobileEsc(fxInscrMobileT('promoteur_bib_enregistre')) . '</div>';
|
|
|
|
|
echo '<span id="' . (int)$intParId . '">';
|
|
|
|
|
echo '<a class="btn btn-sm rounded-0 btn_remis ' . $strRemisClass . '" href="#" data-action="remis"'
|
|
|
|
|
. ' data-table="' . rawurlencode(base64_encode('resultats_participants')) . '"'
|
|
|
|
|
@ -520,6 +530,13 @@ function fxInscrMobileRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, $
|
|
|
|
|
echo '<div id="par_' . (int)$intParId . '" class="inscr-mobile-muted">' . fxInscrMobileEsc($arrRow['no_bib_remis_par']) . '</div>';
|
|
|
|
|
echo '</div>';
|
|
|
|
|
|
|
|
|
|
echo '<div class="inscr-mobile-field-block inscr-mobile-field-block--statut" data-inscr-field="statut">';
|
|
|
|
|
echo '<div class="inscr-mobile-field-block__label">' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_statut_label')) . '</div>';
|
|
|
|
|
echo '<div class="inscr-mobile-statut-placeholder text-muted">' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_statut_soon')) . '</div>';
|
|
|
|
|
echo '</div>';
|
|
|
|
|
|
|
|
|
|
echo '</div>';
|
|
|
|
|
|
|
|
|
|
$strStyleEdit = $strStyleCancel = '';
|
|
|
|
|
$strStyleRetablir = ' d-none';
|
|
|
|
|
if ($blnCancelled) {
|
|
|
|
|
@ -527,8 +544,7 @@ function fxInscrMobileRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, $
|
|
|
|
|
$strStyleRetablir = '';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
echo '<div class="inscr-mobile-fiche-section">';
|
|
|
|
|
echo '<h2 class="inscr-mobile-fiche-section__title">' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_section_actions')) . '</h2>';
|
|
|
|
|
echo '<div class="inscr-mobile-fiche-section inscr-mobile-fiche-section--buttons">';
|
|
|
|
|
echo '<div class="inscr-mobile-actions">';
|
|
|
|
|
|
|
|
|
|
echo '<button class="btn btn-primary rounded-0 btn-block btn_edit_event_promo' . $strStyleEdit . '" type="button"'
|
|
|
|
|
@ -546,12 +562,6 @@ function fxInscrMobileRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, $
|
|
|
|
|
. ' data-epr_id="' . (int)$arrRow['epr_id'] . '" data-eve_id="' . (int)$arrRow['eve_id'] . '"'
|
|
|
|
|
. ' value="' . (int)$arrRow['pec_id_original'] . '">' . fxInscrMobileEsc(fxInscrMobileT('btn_retablirinscriptions')) . '</button>';
|
|
|
|
|
|
|
|
|
|
$strRenvoi = ($strLangue === 'fr') ? 'RENVOI' : 'RESEND';
|
|
|
|
|
echo '<button class="btn btn-outline-primary rounded-0 btn-block link_confirmation" type="button"'
|
|
|
|
|
. ' data-no_panier="' . fxInscrMobileEsc($arrRow['no_panier']) . '"'
|
|
|
|
|
. ' data-no_commande="' . fxInscrMobileEsc($arrRow['no_commande']) . '"'
|
|
|
|
|
. ' data-lng="' . $strLangue . '">' . fxInscrMobileEsc($strRenvoi) . '</button>';
|
|
|
|
|
|
|
|
|
|
echo '</div></div>';
|
|
|
|
|
echo '</div>';
|
|
|
|
|
}
|
|
|
|
|
|