a
This commit is contained in:
parent
ae57e00e24
commit
aa2d4a0cdd
|
|
@ -186,7 +186,7 @@
|
|||
$_SESSION['codeEntite'] = base64_decode($_GET['codeEntite']);
|
||||
$_SESSION['codePrestataire'] = base64_decode($_GET['codePrestataire']);
|
||||
$_SESSION['idBeneficiaire'] = base64_decode($_GET['idBeneficiaire']);
|
||||
$_SESSION['idDemande'] = base64_decode($_GET['idDemande']);
|
||||
// $_SESSION['idDemande'] = base64_decode($_GET['idDemande']);
|
||||
|
||||
$codeSociete = $_SESSION['codeEntite'];
|
||||
$idBeneficiaire = $_SESSION['idBeneficiaire'];
|
||||
|
|
@ -685,23 +685,23 @@
|
|||
<div id="camera-status" class="status info">
|
||||
<?= t('position_face', $lang, $translations) ?>
|
||||
</div>
|
||||
<button class="button capture" onclick="capturePhoto()">📷 Prendre la photo</button>
|
||||
<button class="button capture" onclick="capturePhoto()">📷 <?= t('take_photo', $lang, $translations) ?> </button>
|
||||
</div>
|
||||
|
||||
<!-- Étape 4: Confirmation -->
|
||||
<div id="step-confirm" class="step">
|
||||
<h3 style="color: #2c3e50; margin-bottom: 15px;">Confirmez votre photo</h3>
|
||||
<h3 style="color: #2c3e50; margin-bottom: 15px;"> <?= t('confirm_photo', $lang, $translations) ?> </h3>
|
||||
<img id="preview" class="preview-image" alt="Votre photo">
|
||||
<button class="button" onclick="verifyPhoto()">✓ Confirmer et vérifier</button>
|
||||
<button class="button retry" onclick="retakePhoto()">↻ Reprendre la photo</button>
|
||||
<button class="button" onclick="verifyPhoto()">✓ <?= t('confirm_verify', $lang, $translations) ?> </button>
|
||||
<button class="button retry" onclick="retakePhoto()">↻ <?= t('retake_photo', $lang, $translations) ?> </button>
|
||||
</div>
|
||||
|
||||
<!-- Étape 5: Vérification en cours -->
|
||||
<div id="step-verifying" class="step">
|
||||
<div class="loader"></div>
|
||||
<p style="text-align: center; color: #7f8c8d; margin-top: 20px;">
|
||||
Vérification de votre identité en cours...<br>
|
||||
<small>Merci de patienter</small>
|
||||
<?= t('verification_processing', $lang, $translations) ?> <br>
|
||||
<small> <?= t('please_wait', $lang, $translations) ?> </small>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
@ -740,11 +740,13 @@
|
|||
// verificationToken = urlParams.get('token');
|
||||
|
||||
verificationToken = <?= $_SESSION['idDemande'] ?> ;
|
||||
v_msg = "<?= t('invalid_link', $lang, $translations) ?>";
|
||||
|
||||
// Initialisation
|
||||
window.onload = function() {
|
||||
if (!verificationToken) {
|
||||
showError('Lien de vérification invalide');
|
||||
// showError('Lien de vérification invalide');
|
||||
showError(v_msg);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user