Code comment
This commit is contained in:
parent
fee64f57d4
commit
00b43be7e6
@ -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 ($object->statut == Facture::STATUS_VALIDATED && $object->paye == 0 && $resteapayer > 0 && $usercanissuepayment) {
|
||||||
if ($totalpaye > 0 || $totalcreditnotes > 0) {
|
if ($totalpaye > 0 || $totalcreditnotes > 0) {
|
||||||
// If one payment or one credit note was linked to this invoice
|
// If one payment or one credit note was linked to this invoice
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user