projects
/
spip_souscriptions.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dee666
)
Activation par défaut du reçu fiscal lors d'une adhésion
author
Olivier Tétard
<olivier.tetard@miskin.fr>
Wed, 13 Mar 2013 14:55:53 +0000
(15:55 +0100)
committer
Olivier Tétard
<olivier.tetard@miskin.fr>
Wed, 13 Mar 2013 14:55:53 +0000
(15:55 +0100)
formulaires/souscription.php
patch
|
blob
|
history
diff --git
a/formulaires/souscription.php
b/formulaires/souscription.php
index
82a523d
..
65a016a
100644
(file)
--- a/
formulaires/souscription.php
+++ b/
formulaires/souscription.php
@@
-74,9
+74,13
@@
function formulaires_souscription_charger_dist($id_souscription_campagne) {
"spip_souscription_campagnes",
"id_souscription_campagne=$id_souscription_campagne");
+ $recu_fiscal = "";
+ if($type == "adhesion")
+ $recu_fiscal = "on";
+
return array('montant' => '',
'courriel' => '',
- 'recu_fiscal' =>
''
,
+ 'recu_fiscal' =>
$recu_fiscal
,
'envoyer_info' => 'on',
'prenom' => '',
'nom' => '',