Code comment

This commit is contained in:
Laurent Destailleur 2021-12-23 10:20:01 +01:00
parent fee64f57d4
commit 00b43be7e6

View File

@ -5424,7 +5424,7 @@ if ($action == 'create') {
}
}
// Classify 'closed not completely paid' (possible if validated and not yet filed paid)
// Classify 'closed not completely paid' (possible if validated and not yet set paid)
if ($object->statut == Facture::STATUS_VALIDATED && $object->paye == 0 && $resteapayer > 0 && $usercanissuepayment) {
if ($totalpaye > 0 || $totalcreditnotes > 0) {
// If one payment or one credit note was linked to this invoice