Trad: Traduction réglement 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->do,"%d/%m/%y")."</td>\n";
|
||||||
print "<td nowrap> ".dolibarr_print_date($objp->dv,"%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 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
|
* Ajout les liens
|
||||||
|
|||||||
@ -316,14 +316,32 @@ if ($result)
|
|||||||
if (! $objp->rappro)
|
if (! $objp->rappro)
|
||||||
{
|
{
|
||||||
print '<td colspan="3">';
|
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>';
|
||||||
print '<td align="center"><input type="submit" class="button" value="'.$langs->trans("Update").'">';
|
print '<td align="center"><input type="submit" class="button" value="'.$langs->trans("Update").'">';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<td colspan="4">';
|
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>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
|||||||
@ -79,3 +79,5 @@ AddBankRecordLong=Add transaction manually
|
|||||||
ConciliatedBy=Conciliated by
|
ConciliatedBy=Conciliated by
|
||||||
DateConciliating=Conciliate date
|
DateConciliating=Conciliate date
|
||||||
BankLineConciliated=Transaction conciliated
|
BankLineConciliated=Transaction conciliated
|
||||||
|
CustomerInvoicePayment=Customer payment
|
||||||
|
SupplierInvoicePayment=Supplier payment
|
||||||
@ -79,3 +79,5 @@ AddBankRecordLong=Saisie d'une
|
|||||||
ConciliatedBy=Rapproché par
|
ConciliatedBy=Rapproché par
|
||||||
DateConciliating=Date rapprochement
|
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