Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
Laurent Destailleur 2020-03-11 19:27:33 +01:00
commit 4c87a60d6c

View File

@ -240,6 +240,8 @@ if ($action == 'valid' && $user->rights->facture->creer)
dol_syslog("Invoice is paid, so we set it to status Paid");
$result = $invoice->set_paid($user);
if ($result > 0) $invoice->paye = 1;
// set payment method
$invoice->setPaymentMethods($paiementid);
} else {
dol_syslog("Invoice is not paid, remain to pay = ".$remaintopay);
}