Skip to content
Snippets Groups Projects
Commit b2eb4329 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Trad: Traduction réglement client/fournisseur

parent 1870434b
No related branches found
No related tags found
No related merge requests found
......@@ -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>&nbsp;".dolibarr_print_date($objp->dv,"%d/%m/%y")."</td>\n";
print "<td nowrap>&nbsp;".$objp->fk_type." ".($objp->num_chq?$objp->num_chq:"")."</td>\n";
print '<td><a href="ligne.php?rowid='.$objp->rowid.'&amp;account='.$acct->id.'">'.$objp->label.'</a>';
print '<td><a href="ligne.php?rowid='.$objp->rowid.'&amp;account='.$acct->id.'">';
if (eregi('^\((.*)\)$',$objp->label,$reg))
{
// Label gnrique car entre parenthses. 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 gnrique car entre parenthses. 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 gnrique car entre parenthses. 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
\ No newline at end of file
BankLineConciliated=Transaction conciliated
CustomerInvoicePayment=Customer payment
SupplierInvoicePayment=Supplier payment
\ No newline at end of file
......@@ -78,4 +78,6 @@ AddBankRecord=Ajouter
AddBankRecordLong=Saisie d'une criture manuelle hors facture
ConciliatedBy=Rapproch par
DateConciliating=Date rapprochement
BankLineConciliated=Ecriture rapproche
\ No newline at end of file
BankLineConciliated=Ecriture rapproche
CustomerInvoicePayment=Rglement client
SupplierInvoicePayment=Rglement fournisseur
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment