diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php
index 923d226a57c..47198891a5a 100644
--- a/htdocs/fourn/facture/card.php
+++ b/htdocs/fourn/facture/card.php
@@ -2623,7 +2623,7 @@ else
// Modify a validated invoice with no payments
if ($object->statut == FactureFournisseur::STATUS_VALIDATED && $action != 'edit' && $object->getSommePaiement() == 0 && $user->rights->fournisseur->facture->creer)
{
- print ''.$langs->trans('Modify').'';
+ print '
';
}
// Reopen a standard paid invoice
@@ -2631,11 +2631,11 @@ else
{
if (! $facidnext && $object->close_code != 'replaced') // Not replaced by another invoice
{
- print ''.$langs->trans('ReOpen').'';
+ print '';
}
else
{
- print ''.$langs->trans('ReOpen').'';
+ print ''.$langs->trans('ReOpen').'
';
}
}
@@ -2644,22 +2644,22 @@ else
{
if (empty($conf->global->MAIN_USE_ADVANCED_PERMS) || $user->rights->fournisseur->supplier_invoice_advance->send)
{
- print ''.$langs->trans('SendByMail').'';
+ print '';
}
- else print ''.$langs->trans('SendByMail').'';
+ else print ''.$langs->trans('SendByMail').'
';
}
// Make payments
if ($action != 'edit' && $object->statut == FactureFournisseur::STATUS_VALIDATED && $object->paye == 0 && $user->societe_id == 0)
{
- print ''.$langs->trans('DoPayment').''; // must use facid because id is for payment id not invoice
+ print ''; // must use facid because id is for payment id not invoice
}
// Classify paid
if ($action != 'edit' && $object->statut == FactureFournisseur::STATUS_VALIDATED && $object->paye == 0 && $user->societe_id == 0)
{
- print 'id.'&action=paid"';
- print '>'.$langs->trans('ClassifyPaid').'';
+ print '';
//print 'id.'&action=paid">'.$langs->trans('ClassifyPaid').'';
}
@@ -2672,13 +2672,13 @@ else
if ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && ! empty($user->rights->fournisseur->facture->creer))
|| (! empty($conf->global->MAIN_USE_ADVANCED_PERMS) && ! empty($user->rights->fournisseur->supplier_invoice_advance->validate)))
{
- print 'id.'&action=valid"';
- print '>'.$langs->trans('Validate').'';
+ print '';
}
else
{
- print ''.$langs->trans('Validate').'';
+ print '';
}
}
}
@@ -2692,7 +2692,7 @@ else
// Clone
if ($action != 'edit' && $user->rights->fournisseur->facture->creer)
{
- print 'id.'&action=clone&socid='.$object->socid.'">'.$langs->trans('ToClone').'';
+ print '';
}
// Create a credit note
@@ -2710,7 +2710,7 @@ else
if ($object->getSommePaiement()) {
print '';
} else {
- print 'id.'&action=delete">'.$langs->trans('Delete').'';
+ print '';
}
}
print '';