NEW: new global string to preselect yes for one bill per thirparty in orderlist massaction (#29359)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Noé Cendrier 2024-04-18 15:29:56 +02:00 committed by GitHub
parent dc822d271d
commit ea6165ae4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,8 @@
* Copyright (C) 2016-2023 Ferran Marcet <fmarcet@2byte.es>
* Copyright (C) 2018-2023 Charlene Benke <charlene@patas-monkey.com>
* Copyright (C) 2021-2024 Anthony Berton <anthony.berton@bb2a.fr>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
* Copyright (C) 2024 Noé Cendrier <infra@altairis.fr>
*
* 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 '</td>';
print '<td>';
print $form->selectyesno('createbills_onebythird', '', 1);
print $form->selectyesno('createbills_onebythird', getDolGlobalString('MAIN_ORDERLIST_CREATEBILLS_ONEBYTHIRD', 'no'), 1);
print '</td>';
print '</tr>';
print '<tr>';