diff --git a/application/controllers/ProfilController.php b/application/controllers/ProfilController.php index 39641aae..72121aa8 100644 --- a/application/controllers/ProfilController.php +++ b/application/controllers/ProfilController.php @@ -138,4 +138,13 @@ class ProfilController extends Zend_Controller_Action } } + + public function helpAction() + { + + + + + } + } \ No newline at end of file diff --git a/application/views/scripts/profil/create.phtml b/application/views/scripts/profil/create.phtml index e12b43df..719c38bd 100644 --- a/application/views/scripts/profil/create.phtml +++ b/application/views/scripts/profil/create.phtml @@ -86,10 +86,10 @@ input[type="text"] {
Clé de dédoublonnage :
-doublon)) echo ' checked';?>/> SIRET
-doublon)) echo ' checked';?>/> SIREN
-doublon)) echo ' checked';?>/> NIC
-doublon)) echo ' checked';?>/> REF
+doublon)) echo ' checked';?>/> SIRET
+doublon)) echo ' checked';?>/> SIREN
+doublon)) echo ' checked';?>/> NIC
+doublon)) echo ' checked';?>/> REF
@@ -153,9 +153,13 @@ $(function() { }); var ref = $('input[name=profil]').val(); if (ref!='') { - $.post(url, { reference: ref, criteres: list }, function(data){ + var doublon = $('input[name=doublon]:checkbox:checked').map(function () { + return this.value; + }).get(); + console.log(doublon); + /*$.post(url, { reference: ref, criteres: list, doublon: doublon }, function(data){ if (data!='Erreur'){ window.location.href = '/'; } - }, 'json'); + }, 'json');*/ } });