Fix: Translation
This commit is contained in:
Laurent Destailleur 2013-05-01 16:05:52 +02:00
parent 5c95018356
commit cbc56f8044
3 changed files with 5 additions and 4 deletions

View File

@ -215,7 +215,7 @@ if ($id > 0)
{ {
$langs->load("compta"); $langs->load("compta");
print '<tr><td nowrap>'; print '<tr><td>';
print $langs->trans('CustomerCode').'</td><td colspan="3">'; print $langs->trans('CustomerCode').'</td><td colspan="3">';
print $object->code_client; print $object->code_client;
if ($object->check_codeclient() <> 0) print ' <font class="error">('.$langs->trans("WrongCustomerCode").')</font>'; if ($object->check_codeclient() <> 0) print ' <font class="error">('.$langs->trans("WrongCustomerCode").')</font>';
@ -300,8 +300,8 @@ if ($id > 0)
// Conditions de reglement par defaut // Conditions de reglement par defaut
$langs->load('bills'); $langs->load('bills');
$form = new Form($db); $form = new Form($db);
print '<tr><td nowrap>'; print '<tr><td>';
print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; print '<table width="100%" class="nobordernopadding"><tr><td>';
print $langs->trans('PaymentConditions'); print $langs->trans('PaymentConditions');
print '<td>'; print '<td>';
if (($action != 'editconditions') && $user->rights->societe->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editconditions&amp;socid='.$object->id.'">'.img_edit($langs->trans('SetConditions'),1).'</a></td>'; if (($action != 'editconditions') && $user->rights->societe->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editconditions&amp;socid='.$object->id.'">'.img_edit($langs->trans('SetConditions'),1).'</a></td>';

View File

@ -70,6 +70,7 @@ if (GETPOST("button_removefilter"))
$thirdTypeSelect = GETPOST("third_select_id"); $thirdTypeSelect = GETPOST("third_select_id");
$type_element = GETPOST('type_element')?GETPOST('type_element'):'invoice'; $type_element = GETPOST('type_element')?GETPOST('type_element'):'invoice';
$langs->load("companies");
$langs->load("bills"); $langs->load("bills");
$langs->load("orders"); $langs->load("orders");
$langs->load("suppliers"); $langs->load("suppliers");