This commit is contained in:
Laurent Destailleur 2011-09-05 11:09:33 +00:00
parent 2881075e01
commit a8fcd4790a
2 changed files with 18 additions and 17 deletions

View File

@ -2134,21 +2134,22 @@ class Commande extends CommonObject
/** /**
* \brief Update a line in database * Update a line in database
* \param rowid Id of line to update *
* \param desc Description de la ligne * @param rowid Id of line to update
* \param pu Prix unitaire * @param desc Description de la ligne
* \param qty Quantity * @param pu Prix unitaire
* \param remise_percent Pourcentage de remise de la ligne * @param qty Quantity
* \param tva_tx Taux TVA * @param remise_percent Pourcentage de remise de la ligne
* \param txlocaltax1 Local tax 1 rate * @param tva_tx Taux TVA
* \param txlocaltax2 Local tax 2 rate * @param txlocaltax1 Local tax 1 rate
* \param price_base_type HT or TTC * @param txlocaltax2 Local tax 2 rate
* \param info_bits Miscellanous informations on line * @param price_base_type HT or TTC
* \param date_start Start date of the line * @param info_bits Miscellaneous informations on line
* \param date_end End date of the line * @param date_start Start date of the line
* \param type Type of line (0=product, 1=service) * @param date_end End date of the line
* \return int < 0 si erreur, > 0 si ok * @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) 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)
{ {

View File

@ -2732,7 +2732,7 @@ class Form
* @param societe_vendeuse Objet societe vendeuse * @param societe_vendeuse Objet societe vendeuse
* @param societe_acheteuse Objet societe acheteuse * @param societe_acheteuse Objet societe acheteuse
* @param idprod Id product * @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) * @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 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. * 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_vendeuse Objet societe vendeuse
* @param societe_acheteuse Objet societe acheteuse * @param societe_acheteuse Objet societe acheteuse
* @param idprod Id product * @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) * @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 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. * Si le (pays vendeur = pays acheteur) alors la TVA par defaut=TVA du produit vendu. Fin de regle.