Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Libriciel
web-DPO
Commits
78598f8b
Commit
78598f8b
authored
Aug 11, 2020
by
Théo GUILLON
Browse files
Correction : id du selecteur pour les champs
parent
50bbd38a
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/View/Elements/Fiches/modal/modalAddResponsableInTraitement.ctp
View file @
78598f8b
...
...
@@ -52,28 +52,30 @@
$('#saveNewResponsable').click(function () {
let dataResponsable = {
raisonsocialestructure: $('#
new
Responsable #raisonsocialestructure').val(),
telephonestructure: $('#
new
Responsable #telephonestructure').val(),
faxstructure: $('#
new
Responsable #faxstructure').val(),
adressestructure: $('#
new
Responsable #adressestructure').val(),
emailstructure: $('#
new
Responsable #emailstructure').val(),
siretstructure: $('#
new
Responsable #siretstructure').val(),
apestructure: $('#
new
Responsable #apestructure').val(),
civiliteresponsable: $('#
new
Responsable #civiliteresponsable').val(),
prenomresponsable: $('#
new
Responsable #prenomresponsable').val(),
nomresponsable: $('#
new
Responsable #nomresponsable').val(),
fonctionresponsable: $('#
new
Responsable #fonctionresponsable').val(),
emailresponsable: $('#
new
Responsable #emailresponsable').val(),
telephoneresponsable: $('#
new
Responsable #telephoneresponsable').val(),
civility_dpo: $('#
new
Responsable #civility_dpo').val(),
prenom_dpo: $('#
new
Responsable #prenom_dpo').val(),
nom_dpo: $('#
new
Responsable #nom_dpo').val(),
numerocnil_dpo: $('#
new
Responsable #numerocnil_dpo').val(),
email_dpo: $('#
new
Responsable #email_dpo').val(),
telephonefixe_dpo: $('#
new
Responsable #telephonefixe_dpo').val(),
telephoneportable_dpo: $('#
new
Responsable #telephoneportable_dpo').val(),
raisonsocialestructure: $('#
modalAdd
Responsable
InFiche
#raisonsocialestructure').val(),
telephonestructure: $('#
modalAdd
Responsable
InFiche
#telephonestructure').val(),
faxstructure: $('#
modalAdd
Responsable
InFiche
#faxstructure').val(),
adressestructure: $('#
modalAdd
Responsable
InFiche
#adressestructure').val(),
emailstructure: $('#
modalAdd
Responsable
InFiche
#emailstructure').val(),
siretstructure: $('#
modalAdd
Responsable
InFiche
#siretstructure').val(),
apestructure: $('#
modalAdd
Responsable
InFiche
#apestructure').val(),
civiliteresponsable: $('#
modalAdd
Responsable
InFiche
#civiliteresponsable').val(),
prenomresponsable: $('#
modalAdd
Responsable
InFiche
#prenomresponsable').val(),
nomresponsable: $('#
modalAdd
Responsable
InFiche
#nomresponsable').val(),
fonctionresponsable: $('#
modalAdd
Responsable
InFiche
#fonctionresponsable').val(),
emailresponsable: $('#
modalAdd
Responsable
InFiche
#emailresponsable').val(),
telephoneresponsable: $('#
modalAdd
Responsable
InFiche
#telephoneresponsable').val(),
civility_dpo: $('#
modalAdd
Responsable
InFiche
#civility_dpo').val(),
prenom_dpo: $('#
modalAdd
Responsable
InFiche
#prenom_dpo').val(),
nom_dpo: $('#
modalAdd
Responsable
InFiche
#nom_dpo').val(),
numerocnil_dpo: $('#
modalAdd
Responsable
InFiche
#numerocnil_dpo').val(),
email_dpo: $('#
modalAdd
Responsable
InFiche
#email_dpo').val(),
telephonefixe_dpo: $('#
modalAdd
Responsable
InFiche
#telephonefixe_dpo').val(),
telephoneportable_dpo: $('#
modalAdd
Responsable
InFiche
#telephoneportable_dpo').val(),
};
console.log(dataResponsable);
sendNewResponsable(dataResponsable);
});
});
...
...
app/View/Elements/Fiches/modal/modalAddSoustraitantInTraitement.ctp
View file @
78598f8b
...
...
@@ -52,28 +52,30 @@
$('#saveNewSoustraitant').click(function () {
let dataSoustraitant = {
raisonsocialestructure: $('#
new
Soustraitant #raisonsocialestructure').val(),
telephonestructure: $('#
new
Soustraitant #telephonestructure').val(),
faxstructure: $('#
new
Soustraitant #faxstructure').val(),
adressestructure: $('#
new
Soustraitant #adressestructure').val(),
emailstructure: $('#
new
Soustraitant #emailstructure').val(),
siretstructure: $('#
new
Soustraitant #siretstructure').val(),
apestructure: $('#
new
Soustraitant #apestructure').val(),
civiliteresponsable: $('#
new
Soustraitant #civiliteresponsable').val(),
prenomresponsable: $('#
new
Soustraitant #prenomresponsable').val(),
nomresponsable: $('#
new
Soustraitant #nomresponsable').val(),
fonctionresponsable: $('#
new
Soustraitant #fonctionresponsable').val(),
emailresponsable: $('#
new
Soustraitant #emailresponsable').val(),
telephoneresponsable: $('#
new
Soustraitant #telephoneresponsable').val(),
civility_dpo: $('#
new
Soustraitant #civility_dpo').val(),
prenom_dpo: $('#
new
Soustraitant #prenom_dpo').val(),
nom_dpo: $('#
new
Soustraitant #nom_dpo').val(),
numerocnil_dpo: $('#
new
Soustraitant #numerocnil_dpo').val(),
email_dpo: $('#
new
Soustraitant #email_dpo').val(),
telephonefixe_dpo: $('#
new
Soustraitant #telephonefixe_dpo').val(),
telephoneportable_dpo: $('#
new
Soustraitant #telephoneportable_dpo').val(),
raisonsocialestructure: $('#
modalAdd
Soustraitant
InTraitement
#raisonsocialestructure').val(),
telephonestructure: $('#
modalAdd
Soustraitant
InTraitement
#telephonestructure').val(),
faxstructure: $('#
modalAdd
Soustraitant
InTraitement
#faxstructure').val(),
adressestructure: $('#
modalAdd
Soustraitant
InTraitement
#adressestructure').val(),
emailstructure: $('#
modalAdd
Soustraitant
InTraitement
#emailstructure').val(),
siretstructure: $('#
modalAdd
Soustraitant
InTraitement
#siretstructure').val(),
apestructure: $('#
modalAdd
Soustraitant
InTraitement
#apestructure').val(),
civiliteresponsable: $('#
modalAdd
Soustraitant
InTraitement
#civiliteresponsable').val(),
prenomresponsable: $('#
modalAdd
Soustraitant
InTraitement
#prenomresponsable').val(),
nomresponsable: $('#
modalAdd
Soustraitant
InTraitement
#nomresponsable').val(),
fonctionresponsable: $('#
modalAdd
Soustraitant
InTraitement
#fonctionresponsable').val(),
emailresponsable: $('#
modalAdd
Soustraitant
InTraitement
#emailresponsable').val(),
telephoneresponsable: $('#
modalAdd
Soustraitant
InTraitement
#telephoneresponsable').val(),
civility_dpo: $('#
modalAdd
Soustraitant
InTraitement
#civility_dpo').val(),
prenom_dpo: $('#
modalAdd
Soustraitant
InTraitement
#prenom_dpo').val(),
nom_dpo: $('#
modalAdd
Soustraitant
InTraitement
#nom_dpo').val(),
numerocnil_dpo: $('#
modalAdd
Soustraitant
InTraitement
#numerocnil_dpo').val(),
email_dpo: $('#
modalAdd
Soustraitant
InTraitement
#email_dpo').val(),
telephonefixe_dpo: $('#
modalAdd
Soustraitant
InTraitement
#telephonefixe_dpo').val(),
telephoneportable_dpo: $('#
modalAdd
Soustraitant
InTraitement
#telephoneportable_dpo').val(),
};
console.log(dataSoustraitant);
sendNewSoustraitant(dataSoustraitant);
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment