This commit is contained in:
ldestailleur 2025-04-09 12:35:35 +02:00
parent 9ab63b3491
commit f2cef3a8d1

View file

@ -1072,7 +1072,7 @@ if ($ispaymentok) {
$invoice->validate($user); // This may re-classify all linked orders to billed (done previously) if amount of invoice is ok by triggers, depending on the workflow module setup.
// Creation of payment line
// Creation of payment line (warning: if amount has been modified on page, the payment may be partial)
include_once DOL_DOCUMENT_ROOT . '/compta/paiement/class/paiement.class.php';
$paiement = new Paiement($db);
$paiement->datepaye = $now;