Suppression chaine traduction en double
This commit is contained in:
parent
0941ad4468
commit
e5040c5ce8
@ -2463,7 +2463,7 @@ else
|
||||
{
|
||||
if ($facidnext)
|
||||
{
|
||||
print '<span class="butActionRefused" alt="'.$langs->trans("DisabledBecauseReplacedInvoie").'">'.$langs->trans('SendByMail').'</span>';
|
||||
print '<span class="butActionRefused" alt="'.$langs->trans("DisabledBecauseReplacedInvoice").'">'.$langs->trans('SendByMail').'</span>';
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2476,7 +2476,7 @@ else
|
||||
{
|
||||
if ($facidnext)
|
||||
{
|
||||
print '<span class="butActionRefused" alt="'.$langs->trans("DisabledBecauseReplacedInvoie").'">'.$langs->trans('SendRemindByMail').'</span>';
|
||||
print '<span class="butActionRefused" alt="'.$langs->trans("DisabledBecauseReplacedInvoice").'">'.$langs->trans('SendRemindByMail').'</span>';
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2485,21 +2485,29 @@ else
|
||||
}
|
||||
|
||||
// Emettre paiement
|
||||
if ($fac->statut == 1 && $fac->paye == 0 && $user->rights->facture->paiement)
|
||||
if ($fac->type != 2 && $fac->statut == 1 && $fac->paye == 0 && $user->rights->facture->paiement)
|
||||
{
|
||||
if ($facidnext)
|
||||
{
|
||||
print '<span class="butActionRefused" alt="'.$langs->trans("DisabledBecauseReplacedInvoie").'">'.$langs->trans('DoPaiement').'</span>';
|
||||
print '<span class="butActionRefused" alt="'.$langs->trans("DisabledBecauseReplacedInvoice").'">'.$langs->trans('DoPayment').'</span>';
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<a class="butAction" href="paiement.php?facid='.$fac->id.'&action=create">'.$langs->trans('DoPaiement').'</a>';
|
||||
print '<a class="butAction" href="paiement.php?facid='.$fac->id.'&action=create">'.$langs->trans('DoPayment').'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
// Emettre remboursement
|
||||
/* Pas encore géré
|
||||
if ($fac->type == 2 && $fac->statut == 1 && $fac->paye == 0 && $user->rights->facture->paiement)
|
||||
{
|
||||
print '<a class="butAction" href="paiement.php?facid='.$fac->id.'&action=create">'.$langs->trans('DoPaymentBack').'</a>';
|
||||
}
|
||||
*/
|
||||
|
||||
// Classer 'payé'
|
||||
if ($fac->statut == 1 && $fac->paye == 0 && $user->rights->facture->paiement
|
||||
&& $resteapayer <= 0)
|
||||
if ($fac->statut == 1 && $fac->paye == 0 && $user->rights->facture->paiement &&
|
||||
(($fac->type != 2 && $resteapayer <= 0) || ($fac->type == 2 && $resteapayer >= 0)) )
|
||||
{
|
||||
print '<a class="butAction" href="'.$_SERVER['PHP_SELF'].'?facid='.$fac->id.'&action=payed">'.$langs->trans('ClassifyPayed').'</a>';
|
||||
}
|
||||
|
||||
@ -256,7 +256,7 @@ if ($chid > 0)
|
||||
// Emettre paiement
|
||||
if ($cha->paye == 0 && round($resteapayer) > 0 && $user->rights->tax->charges->creer)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT."/compta/paiement_charge.php?id=$cha->id&action=create\">".$langs->trans("DoPaiement")."</a>";
|
||||
print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT."/compta/paiement_charge.php?id=$cha->id&action=create\">".$langs->trans("DoPayment")."</a>";
|
||||
}
|
||||
|
||||
// Classer 'payé'
|
||||
|
||||
@ -787,7 +787,7 @@ else
|
||||
|
||||
if ($fac->statut == 1 && $fac->paye == 0 && $user->societe_id == 0)
|
||||
{
|
||||
print '<a class="butAction" href="paiement.php?facid='.$fac->id.'&action=create">'.$langs->trans('DoPaiement').'</a>';
|
||||
print '<a class="butAction" href="paiement.php?facid='.$fac->id.'&action=create">'.$langs->trans('DoPayment').'</a>';
|
||||
}
|
||||
|
||||
if ($fac->statut == 1 && price($resteapayer) <= 0 && $fac->paye == 0 && $user->societe_id == 0)
|
||||
|
||||
@ -66,8 +66,8 @@ SearchABill=Search an invoice
|
||||
CancelBill=Cancel an invoice
|
||||
SendByMail=EMail
|
||||
SendRemindByMail=EMail reminder
|
||||
DoPaiement=Do payment
|
||||
DoPayment=Do payment
|
||||
DoPaymentBack=Do payment back
|
||||
EnterPaymentReceivedFromCustomer=Enter payment received from customer
|
||||
EnterPaymentDueToCustomer=Make payment due to customer
|
||||
VAT=VAT
|
||||
|
||||
@ -60,7 +60,6 @@ SearchABill=Rechercher une facture
|
||||
CancelBill=Annuler une facture
|
||||
SendByMail=E-mail
|
||||
SendRemindByMail=Rappel e-mail
|
||||
DoPaiement=Effectuer paiement
|
||||
DoPayment=Émettre paiement
|
||||
EnterPaymentReceivedFromCustomer=Entrer le paiement reçu du client
|
||||
EnterPaymentDueToCustomer=Faire le paiement dû au client
|
||||
|
||||
@ -21,7 +21,7 @@ ReplaceInvoice=Remplace la facture %s
|
||||
ReplacementInvoice=Remplacement facture
|
||||
ReplacedByInvoice=Remplacée par la facture %s
|
||||
ReplacementByInvoice=Remplacée par facture
|
||||
CorrectInvoice=Corrige facture %s
|
||||
CorrectInvoice=Correction facture %s
|
||||
CorrectionInvoice=Correction facture
|
||||
NoReplacableInvoice=Pas de factures remplacables
|
||||
NoInvoiceToCorrect=Pas de factures à corriger
|
||||
@ -66,8 +66,8 @@ SearchABill=Rechercher une facture
|
||||
CancelBill=Annuler une facture
|
||||
SendByMail=Envoyer
|
||||
SendRemindByMail=Envoyer rappel
|
||||
DoPaiement=Émettre réglement
|
||||
DoPayment=Émettre réglement
|
||||
DoPaymentBack=Émettre remboursement
|
||||
EnterPaymentReceivedFromCustomer=Saisie d'un réglement reçu du client
|
||||
EnterPaymentDueToCustomer=Réaliser réglement d'avoirs dus au client
|
||||
VAT=TVA
|
||||
|
||||
@ -59,7 +59,6 @@ SearchABill=Zoek een factuur
|
||||
CancelBill=Annuleer een factuur
|
||||
SendByMail=EMail
|
||||
SendRemindByMail=EMail herinnering
|
||||
DoPaiement=Doe betaling
|
||||
DoPayment=Doe betaling
|
||||
EnterPaymentReceivedFromCustomer=Voeg betaling in ontvangen van klant
|
||||
EnterPaymentDueToCustomer=Make payment due to customer
|
||||
|
||||
@ -19,7 +19,6 @@ DeleteBill=Apagar conta
|
||||
SearchABill=Procurar uma conta
|
||||
Send=Enviar
|
||||
SendRemind=Enviar lembrete
|
||||
DoPaiement=Efectuar pagamento
|
||||
DoPayment=Efectuar pagamento
|
||||
BuildPDF=Criar PDF
|
||||
RebuildPDF=Refazer PDF
|
||||
|
||||
Loading…
Reference in New Issue
Block a user