Update objectline_create.tpl.php

This commit is contained in:
atm-steve 2022-06-22 14:10:47 +02:00 committed by GitHub
parent 01a0e48b95
commit 267e150118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -348,7 +348,7 @@ if ($nolinesbefore) {
if (!empty($conf->service->enabled) && ($object->element == 'facturerec' || $object->element == 'invoice_supplier_rec')) {
echo '<div class="divlinefordates"><br>';
echo $langs->trans('AutoFillDateFrom').' ';
if ($conf->global->INVOICE_REC_DATE_TO_YES) {
if (!empty($conf->global->INVOICE_REC_DATE_TO_YES)) {
$line->date_start_fill = 1;
$line->date_end_fill = 1;
}