mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
feat: Ajout des payementPlans dans le formulaire / ajout de la photo
This commit is contained in:
@ -66,9 +66,12 @@ export default function ParentHomePage() {
|
||||
return;
|
||||
}
|
||||
|
||||
const jsonData = {
|
||||
status: 3,
|
||||
};
|
||||
const formData = new FormData();
|
||||
formData.append('data', JSON.stringify(jsonData));
|
||||
formData.append('sepa_file', uploadedFile); // Ajoute le fichier SEPA
|
||||
formData.append('status', 3); // Statut à envoyer
|
||||
|
||||
editRegisterFormWithBinaryFile(uploadingStudentId, formData, csrfToken)
|
||||
.then((response) => {
|
||||
|
||||
Reference in New Issue
Block a user