Correction lien vers création d'une nouvelle campagne
[spip_souscriptions.git] / base / souscription.php
index 85069dd..7c3d4cc 100644 (file)
@@ -54,6 +54,7 @@ function souscription_declarer_tables_objets_sql($tables) {
                           "adresse"             => "text NOT NULL DEFAULT ''",
                           "ville"               => "text NOT NULL DEFAULT ''",
                           "pays"                => "text NOT NULL DEFAULT ''",
+                          "telephone"           => "text NOT NULL DEFAULT ''",
                           "recu_fiscal"         => "varchar(3) NOT NULL DEFAULT ''",
                           "type_souscription"   => "varchar(255) NOT NULL DEFAULT ''",
                           "informer_comite_local" => "varchar(3) NOT NULL DEFAULT ''",
@@ -70,8 +71,6 @@ function souscription_declarer_tables_objets_sql($tables) {
           'champs_versionnes' => array('courriel', 'nom', 'prenom', 'code_postal', 'adresse', 'ville', 'pays', 'recu_fiscal', 'envoyer_info'),
           'rechercher_champs' => array(),
           'join' => array("id_transaction" => "id_transaction"),
-          /* 'join' => array("id_souscription_campagne" => "id_souscription_campagne"), */
-          /* 'tables_jointures'  => array('souscription_campagnes'), */
           'tables_jointures'  => array('spip_transactions'),
           );
 
@@ -97,7 +96,6 @@ function souscription_declarer_tables_objets_sql($tables) {
           'champs_editables'  => array('objectif', 'titre', 'texte', 'objectif_initial', 'type_objectif'),
           'champs_versionnes' => array('objectif', 'titre', 'texte', 'objectif_initial', 'type_objectif'),
           'rechercher_champs' => array(),
-          /* 'tables_jointures'  => array('spip_souscription_campagnes'), */
           );
 
   return $tables;