[quality] : better help

This commit is contained in:
philippe grand 2016-02-16 16:45:19 +01:00
parent 14fb2c914a
commit 03b9b65d93

View File

@ -4,7 +4,7 @@
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2007 Franky Van Liedekerke <franky.van.liedekerke@telenet.be> * Copyright (C) 2007 Franky Van Liedekerke <franky.van.liedekerke@telenet.be>
* Copyright (C) 2010-2014 Juanjo Menent <jmenent@2byte.es> * Copyright (C) 2010-2014 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2010-2014 Philippe Grand <philippe.grand@atoo-net.com> * Copyright (C) 2010-2016 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2012-2015 Marcos García <marcosgdf@gmail.com> * Copyright (C) 2012-2015 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro> * Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr> * Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
@ -53,7 +53,7 @@ class CommandeFournisseur extends CommonOrder
var $id; var $id;
/** /**
* Supplier invoice reference * Supplier order reference
* @var string * @var string
*/ */
var $ref; var $ref;
@ -103,7 +103,7 @@ class CommandeFournisseur extends CommonOrder
var $user_approve_id; var $user_approve_id;
var $user_approve_id2; // Used when SUPPLIER_ORDER_DOUBLE_APPROVAL is set var $user_approve_id2; // Used when SUPPLIER_ORDER_DOUBLE_APPROVAL is set
//Incorterms //Incoterms
var $fk_incoterms; var $fk_incoterms;
var $location_incoterms; var $location_incoterms;
var $libelle_incoterms; //Used into tooltip var $libelle_incoterms; //Used into tooltip
@ -114,7 +114,7 @@ class CommandeFournisseur extends CommonOrder
* @var CommandeFournisseurLigne[] * @var CommandeFournisseurLigne[]
*/ */
public $lines = array(); public $lines = array();
//Ajout pour supplier_proposal //Add for supplier_proposal
var $origin; var $origin;
var $origin_id; var $origin_id;
var $linked_objects=array(); var $linked_objects=array();
@ -243,7 +243,7 @@ class CommandeFournisseur extends CommonOrder
$this->db->free($resql); $this->db->free($resql);
// Retreive all extrafield // Retrieve all extrafields
// fetch optionals attributes and labels // fetch optionals attributes and labels
require_once(DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'); require_once(DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php');
$extrafields=new ExtraFields($this->db); $extrafields=new ExtraFields($this->db);
@ -390,7 +390,7 @@ class CommandeFournisseur extends CommonOrder
{ {
$this->db->begin(); $this->db->begin();
// Definition du nom de modele de numerotation de commande // Definition of supplier order numbering model name
$soc = new Societe($this->db); $soc = new Societe($this->db);
$soc->fetch($this->fourn_id); $soc->fetch($this->fourn_id);
@ -435,7 +435,7 @@ class CommandeFournisseur extends CommonOrder
// Rename directory if dir was a temporary ref // Rename directory if dir was a temporary ref
if (preg_match('/^[\(]?PROV/i', $this->ref)) if (preg_match('/^[\(]?PROV/i', $this->ref))
{ {
// On renomme repertoire ($this->ref = ancienne ref, $num = nouvelle ref) // We rename directory ($this->ref = ancienne ref, $num = nouvelle ref)
// in order not to lose the attached files // in order not to lose the attached files
$oldref = dol_sanitizeFileName($this->ref); $oldref = dol_sanitizeFileName($this->ref);
$newref = dol_sanitizeFileName($num); $newref = dol_sanitizeFileName($num);
@ -618,8 +618,8 @@ class CommandeFournisseur extends CommonOrder
/** /**
* Renvoie la reference de commande suivante non utilisee en fonction du modele * Returns the following order reference not used depending on the numbering model activated
* de numerotation actif defini dans COMMANDE_SUPPLIER_ADDON_NUMBER * defined within COMMANDE_SUPPLIER_ADDON_NUMBER
* *
* @param Societe $soc objet societe * @param Societe $soc objet societe
* @return string reference libre pour la facture * @return string reference libre pour la facture