From 03b9b65d933b02ea796c609b8538e04abf5320da Mon Sep 17 00:00:00 2001 From: philippe grand Date: Tue, 16 Feb 2016 16:45:19 +0100 Subject: [PATCH] [quality] : better help --- .../fourn/class/fournisseur.commande.class.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/htdocs/fourn/class/fournisseur.commande.class.php b/htdocs/fourn/class/fournisseur.commande.class.php index a0184662065a2..2edbcb0f24979 100644 --- a/htdocs/fourn/class/fournisseur.commande.class.php +++ b/htdocs/fourn/class/fournisseur.commande.class.php @@ -4,7 +4,7 @@ * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2007 Franky Van Liedekerke * Copyright (C) 2010-2014 Juanjo Menent - * Copyright (C) 2010-2014 Philippe Grand + * Copyright (C) 2010-2016 Philippe Grand * Copyright (C) 2012-2015 Marcos García * Copyright (C) 2013 Florian Henry * Copyright (C) 2013 Cédric Salvador @@ -53,7 +53,7 @@ class CommandeFournisseur extends CommonOrder var $id; /** - * Supplier invoice reference + * Supplier order reference * @var string */ var $ref; @@ -103,7 +103,7 @@ class CommandeFournisseur extends CommonOrder var $user_approve_id; var $user_approve_id2; // Used when SUPPLIER_ORDER_DOUBLE_APPROVAL is set - //Incorterms + //Incoterms var $fk_incoterms; var $location_incoterms; var $libelle_incoterms; //Used into tooltip @@ -114,7 +114,7 @@ class CommandeFournisseur extends CommonOrder * @var CommandeFournisseurLigne[] */ public $lines = array(); - //Ajout pour supplier_proposal + //Add for supplier_proposal var $origin; var $origin_id; var $linked_objects=array(); @@ -243,7 +243,7 @@ function fetch($id,$ref='') $this->db->free($resql); - // Retreive all extrafield + // Retrieve all extrafields // fetch optionals attributes and labels require_once(DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'); $extrafields=new ExtraFields($this->db); @@ -390,7 +390,7 @@ function valid($user,$idwarehouse=0,$notrigger=0) { $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->fetch($this->fourn_id); @@ -435,7 +435,7 @@ function valid($user,$idwarehouse=0,$notrigger=0) // Rename directory if dir was a temporary 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 $oldref = dol_sanitizeFileName($this->ref); $newref = dol_sanitizeFileName($num); @@ -618,8 +618,8 @@ function getNomUrl($withpicto=0,$option='') /** - * Renvoie la reference de commande suivante non utilisee en fonction du modele - * de numerotation actif defini dans COMMANDE_SUPPLIER_ADDON_NUMBER + * Returns the following order reference not used depending on the numbering model activated + * defined within COMMANDE_SUPPLIER_ADDON_NUMBER * * @param Societe $soc objet societe * @return string reference libre pour la facture