|
@@ -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
|