From 2183086a0ccf826b9ccd5473ed1cbe3f8cc2c762 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 27 Dec 2002 21:18:21 +0000 Subject: [PATCH] *** empty log message *** --- htdocs/compta/dons/fiche.php | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/htdocs/compta/dons/fiche.php b/htdocs/compta/dons/fiche.php index f5a7b136c0c..8a4ff98c1c0 100644 --- a/htdocs/compta/dons/fiche.php +++ b/htdocs/compta/dons/fiche.php @@ -33,19 +33,20 @@ if ($action == 'add') $don = new Don($db); - $don->prenom = $prenom; - $don->nom = $nom; - $don->societe = $societe; - $don->adresse = $adresse; - $don->amount = $amount; - $don->cp = $cp; - $don->ville = $ville; - $don->email = $email; - $don->date = mktime(12, 0 , 0, $remonth, $reday, $reyear); - $don->note = $note; - $don->pays = $pays; - $don->public = $public; - $don->projetid = $projetid; + $don->prenom = $prenom; + $don->nom = $nom; + $don->societe = $societe; + $don->adresse = $adresse; + $don->amount = $amount; + $don->cp = $cp; + $don->ville = $ville; + $don->email = $email; + $don->date = mktime(12, 0 , 0, $remonth, $reday, $reyear); + $don->note = $note; + $don->pays = $pays; + $don->public = $public; + $don->projetid = $projetid; + $don->commentaire = $HTTP_POST_VARS["comment"]; $don->modepaiementid = $modepaiement; if ($don->create($user->id) ) @@ -257,7 +258,7 @@ if ($rowid > 0 && $action == 'edit') * Case 1 */ - print "-"; + print 'Editer'; /* * Case 2 @@ -293,7 +294,9 @@ if ($rowid > 0 && $action == 'edit') { print "-"; } - + /* + * Case 4 + */ if ($don->statut == 0) { print "[id&action=delete\">Supprimer]";