fix: remove space in global conf test (#35484)
This commit is contained in:
parent
a63eae7903
commit
f532f85d8c
1 changed files with 1 additions and 1 deletions
|
|
@ -3240,7 +3240,7 @@ class Facture extends CommonInvoice
|
|||
$this->date = dol_now();
|
||||
$this->date_lim_reglement = $this->calculate_date_lim_reglement();
|
||||
}
|
||||
if (!empty($conf->global-> INVOICE_CHECK_POSTERIOR_DATE)) {
|
||||
if (!empty($conf->global->INVOICE_CHECK_POSTERIOR_DATE)) {
|
||||
$last_of_type = $this->willBeLastOfSameType(true);
|
||||
if (!$last_of_type[0]) {
|
||||
$this->error = $langs->transnoentities("ErrorInvoiceIsNotLastOfSameType", $this->ref, dol_print_date($this->date, 'day'), dol_print_date($last_of_type[1], 'day'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue