/[dolibarr]/dolibarr/htdocs/compta/dons/fiche.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/dons/fiche.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.29 by eldy, Fri Nov 11 22:36:57 2005 UTC revision 1.30 by eldy, Wed Nov 23 00:43:19 2005 UTC
# Line 106  if ($_POST["action"] == 'add') Line 106  if ($_POST["action"] == 'add')
106      }      }
107      else      else
108      {      {
109          $mesg="Montant non défini";          $mesg=$langs->trans("ErrorFieldRequired",$langs->trans("Amount"));
110          $_GET["action"] = "create";          $_GET["action"] = "create";
111      }      }
112  }  }
# Line 129  if ($_GET["action"] == 'valid_promesse') Line 129  if ($_GET["action"] == 'valid_promesse')
129      $don = new Don($db);      $don = new Don($db);
130      if ($don->valid_promesse($_GET["rowid"], $user->id))      if ($don->valid_promesse($_GET["rowid"], $user->id))
131      {      {
132          Header("Location: liste.php");          Header("Location: fiche.php?rowid=".$_GET["rowid"]);
133          exit;          exit;
134      }      }
135  }  }
# Line 138  if ($_GET["action"] == 'set_payed') Line 138  if ($_GET["action"] == 'set_payed')
138      $don = new Don($db);      $don = new Don($db);
139      if ($don->set_paye($_GET["rowid"], $modepaiement))      if ($don->set_paye($_GET["rowid"], $modepaiement))
140      {      {
141          Header("Location: liste.php");          Header("Location: fiche.php?rowid=".$_GET["rowid"]);
142          exit;          exit;
143      }      }
144  }  }
# Line 410  if ($_GET["rowid"] && $_GET["action"] != Line 410  if ($_GET["rowid"] && $_GET["action"] !=
410    
411      if ($don->statut == 2 || $don->statut == 3)      if ($don->statut == 2 || $don->statut == 3)
412      {      {
413          print '  <a class="butAction" href="fiche.php?rowid='.$don->id.'&amp;action=build">'.$langs->trans('BuildDoc').'</a>';          print '  <a class="butAction" href="fiche.php?rowid='.$don->id.'&amp;action=build">'.$langs->trans('BuildDonationReceipt').'</a>';
414      }      }
415    
416      if ($don->statut == 0)      if ($don->statut == 0)

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26