From b522de77a7aa3800018e26b66042ec0643c39908 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 17:27:35 +0000 Subject: [PATCH] aqse --- Vue/Fichebeneficiaire/index.php | 254 ++++++++++++++++++-------------- 1 file changed, 140 insertions(+), 114 deletions(-) diff --git a/Vue/Fichebeneficiaire/index.php b/Vue/Fichebeneficiaire/index.php index 97ed6eb..d159bbd 100755 --- a/Vue/Fichebeneficiaire/index.php +++ b/Vue/Fichebeneficiaire/index.php @@ -158,129 +158,142 @@
-
-
-
- - Photo - -
- -
+
+
+
+
+ + Photo du bénéficiaire + + + +
- -
- - +
+ + + + +
+
- - -
+ +
+
+ + -
- - -
+ + +
-
-
- - -
-
- - -
- -
- - - - -
-
+
+ + +
-
-
-
-

- : -
-
- - nettoyer($beneficiaire['age']) ?> -
-
+
+
+ + +
+
+
+ +
-
-
-
- -

nettoyer($beneficiaire['dateNaissance'])) ?>

-
-
- -

-
-
- -

-
-
+
+
+
+

+ : +
+
+ + nettoyer($beneficiaire['age']) ?> ans +
+
-
- -
-
- -
- - -
-
- -
-
- - -
- -
- -

-
-
- -

-
- -
-
-
+
+
+
+ + nettoyer($beneficiaire['dateNaissance'])) ?> +
+
+ + +
+
+ + +
+
+ +
+ +
+
+ +
+ + +
+
+
+ + +
+
+
+ +
+ @ + +
+
+ +
+ + +
+
+ + +
+ +
+
+
+
+ +
+
+
+ + +
+
+
+
+ + / +
+
+
+
-
-
- - -
-
- - / -
-
- -
@@ -1029,4 +1042,17 @@ document.addEventListener('DOMContentLoaded', function() { this.classList.add('is-invalid'); } }); + + function togglePhotoSource(source) { + const areaCam = document.getElementById('area_prendre_photo'); + const areaFile = document.getElementById('area_choisir_photo'); + + if (source === 'cam') { + areaCam.classList.remove('d-none'); + areaFile.classList.add('d-none'); + } else { + areaCam.classList.add('d-none'); + areaFile.classList.remove('d-none'); + } + } \ No newline at end of file