Trad: Traduction rglement client/fournisseur
This commit is contained in:
parent
1870434b2a
commit
b2eb43290c
@ -385,7 +385,17 @@ function _print_lines($db,$result,$sql,$acct)
|
||||
print "<td nowrap>".dolibarr_print_date($objp->do,"%d/%m/%y")."</td>\n";
|
||||
print "<td nowrap> ".dolibarr_print_date($objp->dv,"%d/%m/%y")."</td>\n";
|
||||
print "<td nowrap> ".$objp->fk_type." ".($objp->num_chq?$objp->num_chq:"")."</td>\n";
|
||||
print '<td><a href="ligne.php?rowid='.$objp->rowid.'&account='.$acct->id.'">'.$objp->label.'</a>';
|
||||
print '<td><a href="ligne.php?rowid='.$objp->rowid.'&account='.$acct->id.'">';
|
||||
if (eregi('^\((.*)\)$',$objp->label,$reg))
|
||||
{
|
||||
// Label générique car entre parenthèses. On l'affiche en le traduisant
|
||||
print $langs->trans($reg[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
print $objp->label;
|
||||
}
|
||||
print '</a>';
|
||||
|
||||
/*
|
||||
* Ajout les liens
|
||||
|
||||
@ -316,14 +316,32 @@ if ($result)
|
||||
if (! $objp->rappro)
|
||||
{
|
||||
print '<td colspan="3">';
|
||||
print '<input name="label" class="flat" value="'.$objp->label.'" size="50">';
|
||||
print '<input name="label" class="flat" value="';
|
||||
if (eregi('^\((.*)\)$',$objp->label,$reg))
|
||||
{
|
||||
// Label générique car entre parenthèses. On l'affiche en le traduisant
|
||||
print $langs->trans($reg[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
print $objp->label;
|
||||
}
|
||||
print '" size="50">';
|
||||
print '</td>';
|
||||
print '<td align="center"><input type="submit" class="button" value="'.$langs->trans("Update").'">';
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<td colspan="4">';
|
||||
print $objp->label;
|
||||
if (eregi('^\((.*)\)$',$objp->label,$reg))
|
||||
{
|
||||
// Label générique car entre parenthèses. On l'affiche en le traduisant
|
||||
print $langs->trans($reg[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
print $objp->label;
|
||||
}
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
||||
|
||||
@ -78,4 +78,6 @@ AddBankRecord=Add transaction
|
||||
AddBankRecordLong=Add transaction manually
|
||||
ConciliatedBy=Conciliated by
|
||||
DateConciliating=Conciliate date
|
||||
BankLineConciliated=Transaction conciliated
|
||||
BankLineConciliated=Transaction conciliated
|
||||
CustomerInvoicePayment=Customer payment
|
||||
SupplierInvoicePayment=Supplier payment
|
||||
@ -78,4 +78,6 @@ AddBankRecord=Ajouter
|
||||
AddBankRecordLong=Saisie d'une écriture manuelle hors facture
|
||||
ConciliatedBy=Rapproché par
|
||||
DateConciliating=Date rapprochement
|
||||
BankLineConciliated=Ecriture rapprochée
|
||||
BankLineConciliated=Ecriture rapprochée
|
||||
CustomerInvoicePayment=Réglement client
|
||||
SupplierInvoicePayment=Réglement fournisseur
|
||||
Loading…
Reference in New Issue
Block a user