From be460b6cbf0a8ac88d5bc76b420c5e02b2185786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Mon, 16 Nov 2015 13:20:56 +0100 Subject: [PATCH 1/2] FIX #3992 CommandeFournisseur::ref is marked as deprecated and it shouldn't be --- htdocs/fourn/class/fournisseur.commande.class.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/htdocs/fourn/class/fournisseur.commande.class.php b/htdocs/fourn/class/fournisseur.commande.class.php index 7f475f87f24..8ba74dda8ce 100644 --- a/htdocs/fourn/class/fournisseur.commande.class.php +++ b/htdocs/fourn/class/fournisseur.commande.class.php @@ -53,12 +53,10 @@ class CommandeFournisseur extends CommonOrder var $id; /** - * TODO: Remove - * @deprecated - * @see product_ref + * Supplier invoice reference + * @var string */ var $ref; - var $product_ref; var $ref_supplier; var $brouillon; var $statut; // 0=Draft -> 1=Validated -> 2=Approved -> 3=Process runing -> 4=Received partially -> 5=Received totally -> (reopen) 4=Received partially From 53fb085766bbccebde5fbf840fc23c5f0c0c5ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Mon, 16 Nov 2015 13:29:37 +0100 Subject: [PATCH 2/2] Corrected indent --- htdocs/fourn/class/fournisseur.commande.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/class/fournisseur.commande.class.php b/htdocs/fourn/class/fournisseur.commande.class.php index 8ba74dda8ce..d667799f64b 100644 --- a/htdocs/fourn/class/fournisseur.commande.class.php +++ b/htdocs/fourn/class/fournisseur.commande.class.php @@ -54,7 +54,7 @@ class CommandeFournisseur extends CommonOrder /** * Supplier invoice reference - * @var string + * @var string */ var $ref; var $ref_supplier;