Update document.php

This commit is contained in:
Laurent Destailleur 2021-05-11 19:23:46 +02:00 committed by GitHub
parent 70451050ae
commit 6bec5d7e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,7 +193,7 @@ if ($object->id > 0) {
$facavoir->fetch($facid);
$invoicecredits[] = $facavoir->getNomUrl(1);
}
print ' ('.$langs->transnoentities("InvoiceHasAvoir") . implode(',', $invoicecredits) . ')';
print ' ('.$langs->transnoentities("InvoiceHasAvoir") . (count($invoicecredits) ? ' ' : '') . implode(',', $invoicecredits) . ')';
}
/*
if ($facidnext > 0) {