From ea6165ae4cc58f2aec2df9039cdeaa623642afd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Cendrier?= <81741011+altairis-noe@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:29:56 +0200 Subject: [PATCH] NEW: new global string to preselect yes for one bill per thirparty in orderlist massaction (#29359) Co-authored-by: Laurent Destailleur --- htdocs/commande/list.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index f40deda9bae..0ab2d6c3edf 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -12,7 +12,8 @@ * Copyright (C) 2016-2023 Ferran Marcet * Copyright (C) 2018-2023 Charlene Benke * Copyright (C) 2021-2024 Anthony Berton - * Copyright (C) 2024 MDW + * Copyright (C) 2024 MDW + * Copyright (C) 2024 NoƩ Cendrier * * 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 @@ -1419,7 +1420,7 @@ if ($massaction == 'createbills') { print $langs->trans('CreateOneBillByThird'); print ''; print ''; - print $form->selectyesno('createbills_onebythird', '', 1); + print $form->selectyesno('createbills_onebythird', getDolGlobalString('MAIN_ORDERLIST_CREATEBILLS_ONEBYTHIRD', 'no'), 1); print ''; print ''; print '';