From a8fcd4790aee34a4d2da355f06dd9c992b5e5fb0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 5 Sep 2011 11:09:33 +0000 Subject: [PATCH] Doxygen --- htdocs/commande/class/commande.class.php | 31 ++++++++++++------------ htdocs/core/class/html.form.class.php | 4 +-- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index f4d0ad24226..8066a72121c 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -2134,21 +2134,22 @@ class Commande extends CommonObject /** - * \brief Update a line in database - * \param rowid Id of line to update - * \param desc Description de la ligne - * \param pu Prix unitaire - * \param qty Quantity - * \param remise_percent Pourcentage de remise de la ligne - * \param tva_tx Taux TVA - * \param txlocaltax1 Local tax 1 rate - * \param txlocaltax2 Local tax 2 rate - * \param price_base_type HT or TTC - * \param info_bits Miscellanous informations on line - * \param date_start Start date of the line - * \param date_end End date of the line - * \param type Type of line (0=product, 1=service) - * \return int < 0 si erreur, > 0 si ok + * Update a line in database + * + * @param rowid Id of line to update + * @param desc Description de la ligne + * @param pu Prix unitaire + * @param qty Quantity + * @param remise_percent Pourcentage de remise de la ligne + * @param tva_tx Taux TVA + * @param txlocaltax1 Local tax 1 rate + * @param txlocaltax2 Local tax 2 rate + * @param price_base_type HT or TTC + * @param info_bits Miscellaneous informations on line + * @param date_start Start date of the line + * @param date_end End date of the line + * @param type Type of line (0=product, 1=service) + * @return int < 0 if KO, > 0 if OK */ function updateline($rowid, $desc, $pu, $qty, $remise_percent=0, $txtva, $txlocaltax1=0,$txlocaltax2=0, $price_base_type='HT', $info_bits=0, $date_start='', $date_end='', $type=0, $fk_parent_line=0, $skip_update_total=0) { diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 0e95a7e0bb9..a3598631489 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2732,7 +2732,7 @@ class Form * @param societe_vendeuse Objet societe vendeuse * @param societe_acheteuse Objet societe acheteuse * @param idprod Id product - * @param info_bits Miscellanous information on line + * @param info_bits Miscellaneous information on line * @param type ''=Unknown, 0=Product, 1=Service (Used if idprod not defined) * Si vendeur non assujeti a TVA, TVA par defaut=0. Fin de regle. * Si le (pays vendeur = pays acheteur) alors la TVA par defaut=TVA du produit vendu. Fin de regle. @@ -2755,7 +2755,7 @@ class Form * @param societe_vendeuse Objet societe vendeuse * @param societe_acheteuse Objet societe acheteuse * @param idprod Id product - * @param info_bits Miscellanous information on line + * @param info_bits Miscellaneous information on line * @param type ''=Unknown, 0=Product, 1=Service (Used if idprod not defined) * Si vendeur non assujeti a TVA, TVA par defaut=0. Fin de regle. * Si le (pays vendeur = pays acheteur) alors la TVA par defaut=TVA du produit vendu. Fin de regle.