Merge pull request #23219 from sebastien-prudhomme/fix-23019

FIX #23019 Impossible to add task times to an existing draft invoice
This commit is contained in:
Laurent Destailleur 2022-12-14 18:38:53 +01:00 committed by GitHub
commit dac8d5c952
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1240,7 +1240,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser
print $langs->trans('InvoiceToUse');
print '</td>';
print '<td>';
$form->selectInvoice('invoice', '', 'invoiceid', 24, 0, $langs->trans('NewInvoice'), 1, 0, 0, 'maxwidth500', '', 'all');
$form->selectInvoice($projectstatic->thirdparty->id, '', 'invoiceid', 24, 0, $langs->trans('NewInvoice'), 1, 0, 0, 'maxwidth500', '', 'all');
print '</td>';
print '</tr>';
/*print '<tr>';