diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php index c2b2c587736..7887e8cc6ed 100644 --- a/htdocs/fourn/facture/card.php +++ b/htdocs/fourn/facture/card.php @@ -2270,7 +2270,11 @@ else // Delete if ($action != 'edit' && $user->rights->fournisseur->facture->supprimer) { - print 'id.'&action=delete">'.$langs->trans('Delete').''; + if ($object->getSommePaiement()) { + print '
'; + } else { + print 'id.'&action=delete">'.$langs->trans('Delete').''; + } } print ''; print '