diff --git a/htdocs/compta/dons/fiche.php b/htdocs/compta/dons/fiche.php
index bbfe116ee81..796010a8906 100644
--- a/htdocs/compta/dons/fiche.php
+++ b/htdocs/compta/dons/fiche.php
@@ -225,7 +225,7 @@ if ($_GET["action"] == 'create')
if ($conf->projet->enabled) $nbrows++;
print '
'.$langs->trans("Comments").' : ';
- print " | ";
+ print "";
print "| ".$langs->trans("PaymentMode")." | \n";
$html->select_types_paiements('', 'modepaiement', 'CRDT', 0);
@@ -235,23 +235,23 @@ if ($_GET["action"] == 'create')
{
// Si module projet actif
print " |
| ".$langs->trans("Project")." | ";
- select_projects('','','',"projetid");
+ select_projects('',$_POST["projetid"],"projetid");
print " |
\n";
}
print "| ".$langs->trans("PublicDonation")." | ";
- print $html->selectyesno("public",1,1);
+ print $html->selectyesno("public",isset($_POST["public"])?$_POST["public"]:1,1);
print " |
\n";
- print "".'| '.$langs->trans("Company").' | |
';
- print "".'| '.$langs->trans("Firstname").' | |
';
- print "".'| '.$langs->trans("Lastname").' | |
';
+ print "".'| '.$langs->trans("Company").' | |
';
+ print "".'| '.$langs->trans("Firstname").' | |
';
+ print "".'| '.$langs->trans("Lastname").' | |
';
print "".'| '.$langs->trans("Address").' | ';
- print ' |
';
- print "".'| '.$langs->trans("Zip").' / '.$langs->trans("Town").' | |
';
- print "".'| '.$langs->trans("Country").' | |
';
- print "".'| '.$langs->trans("EMail").' | |
';
- print "".'| '.$langs->trans("Amount").' | '.$langs->trans("Currency".$conf->monnaie).' |
';
+ print '';
+ print "".'| '.$langs->trans("Zip").' / '.$langs->trans("Town").' | |
';
+ print "".'| '.$langs->trans("Country").' | |
';
+ print "".'| '.$langs->trans("EMail").' | |
';
+ print "".'| '.$langs->trans("Amount").' | '.$langs->trans("Currency".$conf->monnaie).' |
';
print "".' |
';
print "\n";
print "\n";
@@ -357,11 +357,11 @@ if ($_GET["rowid"] && $_GET["action"] != 'edit')
$h=0;
$head[$h][0] = DOL_URL_ROOT."/compta/dons/fiche.php?rowid=".$_GET["rowid"];
- $head[$h][1] = $langs->trans("Donation");
+ $head[$h][1] = $langs->trans("Card");
$hselected=$h;
$h++;
- dol_fiche_head($head, $hselected, $langs->trans("Ref").": ".$_GET["rowid"]);
+ dol_fiche_head($head, $hselected, $langs->trans("Donation"));
print "