From e86aa52d8352dbc5c9cdc096bc078df747f04923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charl=C3=A8ne=20Benke?= <1179011+defrance@users.noreply.github.com> Date: Sat, 1 Nov 2025 03:24:59 +0100 Subject: [PATCH] Modify supplier reputation options in API products (#36029) Updated supplier reputation parameter options. Co-authored-by: Laurent Destailleur --- htdocs/product/class/api_products.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/product/class/api_products.class.php b/htdocs/product/class/api_products.class.php index f554d7d8883..a0c7f8b2da8 100644 --- a/htdocs/product/class/api_products.class.php +++ b/htdocs/product/class/api_products.class.php @@ -4,6 +4,7 @@ * Copyright (C) 2024 Frédéric France * Copyright (C) 2024-2025 MDW * Copyright (C) 2025 William Mead + * Copyright (C) 2025 Charlene Benke * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -885,7 +886,7 @@ class Products extends DolibarrApi * @param float $remise Discount regarding qty (amount) * @param int $newnpr Set NPR or not * @param int $delivery_time_days Delay in days for delivery (max). May be '' if not defined. - * @param string $supplier_reputation Reputation with this product to the defined supplier (empty, FAVORITE, DONOTORDER) + * @param string $supplier_reputation Reputation with this product to the defined supplier (empty, FAVORITE, NOTTHGOOD, DONOTORDER) * @param array $localtaxes_array Array with localtaxes info array('0'=>type1,'1'=>rate1,'2'=>type2,'3'=>rate2) (loaded by getLocalTaxesFromRate(vatrate, 0, ...) function). * @phan-param array{0:string,1:string,2:string,3:string}|array{} $localtaxes_array * @phpstan-param array{0:string,1:string,2:string,3:string}|array{} $localtaxes_array