Doc: Corrections commentaires pour doc doxygen

This commit is contained in:
Laurent Destailleur 2004-08-14 13:27:17 +00:00
parent 678a8a5b1e
commit 2b0823f771
3 changed files with 67 additions and 61 deletions

View File

@ -67,8 +67,8 @@ class Cotisation
$this->modepaiementid = 0; $this->modepaiementid = 0;
} }
/* /*
*
* *
* *
*/ */
@ -196,8 +196,7 @@ class Cotisation
} }
else else
{ {
print $this->db->error(); dolibarr_print_error($this->db);
print "<h2><br>$sql<br></h2>";
return 0; return 0;
} }
} }
@ -239,8 +238,7 @@ class Cotisation
} }
else else
{ {
print $this->db->error(); dolibarr_print_error($this->db);
print "<h2><br>$sql<br></h2>";
return 0; return 0;
} }
} }
@ -269,7 +267,7 @@ class Cotisation
} }
else else
{ {
print "Err : ".$this->db->error(); dolibarr_print_error($this->db);
return 0; return 0;
} }
} }
@ -344,15 +342,15 @@ class Cotisation
} }
else else
{ {
print "Err : ".$this->db->error(); dolibarr_print_error($this->db);
return 0; return 0;
} }
} }
/*! /*!
\brief fonction qui permet de mettre le don comme payé \brief fonction qui permet de définir la cotisation comme payée
\param rowid \param rowid rowid de la cotisation
\param modedepaiement \param modedepaiement mode de paiement
*/ */
function set_paye($rowid, $modepaiement='') function set_paye($rowid, $modepaiement='')
@ -378,7 +376,7 @@ class Cotisation
} }
else else
{ {
print "Err : ".$this->db->error(); dolibarr_print_error($this->db);
return 0; return 0;
} }
} }
@ -408,7 +406,7 @@ class Cotisation
} }
else else
{ {
print "Err : ".$this->db->error(); dolibarr_print_error($this->db);
return 0; return 0;
} }
} }
@ -436,7 +434,7 @@ class Cotisation
} }
else else
{ {
print "Err : ".$this->db->error(); dolibarr_print_error($this->db);
return 0; return 0;
} }
} }
@ -459,6 +457,7 @@ class Cotisation
} }
} }
/* Paiement recu en attente d'encaissement /* Paiement recu en attente d'encaissement
* *
* *

View File

@ -35,13 +35,12 @@
/*! /*!
\brief Verifie le RIB d'un compte bancaire grace à sa clé \brief Verifie le RIB d'un compte bancaire grace à sa clé
\param code banque \param code_banque code banque
\param code_guichet \param code_guichet code guichet
\param numero_compte \param numero_compte numero de compte
\param cle \param cle cle
\param iban Ne sert pas pour le calcul de cle mais sert pour \param iban Ne sert pas pour le calcul de cle mais sert pour determiner le pays
determiner le pays \return int true si les infos sont bonnes, false si la clé ne correspond pas
\return true si les infos sont bonnes, false si la clé ne correspond pas
*/ */
function verif_rib($code_banque , $code_guichet , $num_compte , $cle, $iban) { function verif_rib($code_banque , $code_guichet , $num_compte , $cle, $iban) {

View File

@ -19,6 +19,13 @@
* $Id$ * $Id$
* $Source$ * $Source$
*/ */
/*! \file htdocs/compta/bank/config.php
\ingroup banque
\brief Page de configuration des comptes bancaires
\version $Revision$
*/
require("./pre.inc.php"); require("./pre.inc.php");
require("./bank.lib.php"); require("./bank.lib.php");
@ -35,9 +42,9 @@ print '<br>';
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="2">'; print '<table class="noborder" width="100%" cellspacing="0" cellpadding="2">';
print "<tr class=\"liste_titre\">"; print "<tr class=\"liste_titre\">";
print "<td>id</td><td>Label</td><td>Description</TD>"; print "<td>id</td><td>Label</td><td>".$langs->trans("Description")."</td>";
print "<td align=\"left\">Number</a></TD>"; print "<td align=\"left\">".$langs->trans("Number")."</a></td>";
print "<td align=\"center\">Clos</a></TD>"; print "<td align=\"center\">Clos</a></td>";
print "</tr>\n"; print "</tr>\n";
$sql = "SELECT rowid, label,number,bank,clos from ".MAIN_DB_PREFIX."bank_account"; $sql = "SELECT rowid, label,number,bank,clos from ".MAIN_DB_PREFIX."bank_account";
@ -56,7 +63,8 @@ if ($result)
$objp = $db->fetch_object( $i); $objp = $db->fetch_object( $i);
$var=!$var; $var=!$var;
print "<tr $bc[$var]><td>$objp->rowid</td><td><a href=\"fiche.php?id=$objp->rowid\">$objp->label</a></td><td>$objp->bank&nbsp;</td><td>$objp->number&nbsp;</td><td align=\"center\">".$yn[$objp->clos]."</td></tr>"; print "<tr $bc[$var]><td>$objp->rowid</td><td><a href=\"fiche.php?id=$objp->rowid\">$objp->label</a></td>";
print "<td>$objp->bank&nbsp;</td><td>$objp->number&nbsp;</td><td align=\"center\">".$yn[$objp->clos]."</td></tr>";
$i++; $i++;
} }